JS: support cross-module inlining of suspend functions
See KT-18063
This commit is contained in:
+42
-4
@@ -211,6 +211,22 @@ public final class DebugJsAstProtoBuf {
|
||||
* <code>UNBOX_CHAR = 4;</code>
|
||||
*/
|
||||
UNBOX_CHAR(3, 4),
|
||||
/**
|
||||
* <code>SUSPEND_CALL = 5;</code>
|
||||
*/
|
||||
SUSPEND_CALL(4, 5),
|
||||
/**
|
||||
* <code>COROUTINE_RESULT = 6;</code>
|
||||
*/
|
||||
COROUTINE_RESULT(5, 6),
|
||||
/**
|
||||
* <code>COROUTINE_CONTROLLER = 7;</code>
|
||||
*/
|
||||
COROUTINE_CONTROLLER(6, 7),
|
||||
/**
|
||||
* <code>COROUTINE_RECEIVER = 8;</code>
|
||||
*/
|
||||
COROUTINE_RECEIVER(7, 8),
|
||||
;
|
||||
|
||||
/**
|
||||
@@ -229,6 +245,22 @@ public final class DebugJsAstProtoBuf {
|
||||
* <code>UNBOX_CHAR = 4;</code>
|
||||
*/
|
||||
public static final int UNBOX_CHAR_VALUE = 4;
|
||||
/**
|
||||
* <code>SUSPEND_CALL = 5;</code>
|
||||
*/
|
||||
public static final int SUSPEND_CALL_VALUE = 5;
|
||||
/**
|
||||
* <code>COROUTINE_RESULT = 6;</code>
|
||||
*/
|
||||
public static final int COROUTINE_RESULT_VALUE = 6;
|
||||
/**
|
||||
* <code>COROUTINE_CONTROLLER = 7;</code>
|
||||
*/
|
||||
public static final int COROUTINE_CONTROLLER_VALUE = 7;
|
||||
/**
|
||||
* <code>COROUTINE_RECEIVER = 8;</code>
|
||||
*/
|
||||
public static final int COROUTINE_RECEIVER_VALUE = 8;
|
||||
|
||||
|
||||
public final int getNumber() { return value; }
|
||||
@@ -239,6 +271,10 @@ public final class DebugJsAstProtoBuf {
|
||||
case 2: return WRAP_FUNCTION;
|
||||
case 3: return TO_BOXED_CHAR;
|
||||
case 4: return UNBOX_CHAR;
|
||||
case 5: return SUSPEND_CALL;
|
||||
case 6: return COROUTINE_RESULT;
|
||||
case 7: return COROUTINE_CONTROLLER;
|
||||
case 8: return COROUTINE_RECEIVER;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
@@ -49361,10 +49397,12 @@ public final class DebugJsAstProtoBuf {
|
||||
"t.Fragment*@\n\013SideEffects\022\021\n\rAFFECTS_STA" +
|
||||
"TE\020\001\022\024\n\020DEPENDS_ON_STATE\020\002\022\010\n\004PURE\020\003*?\n\016" +
|
||||
"InlineStrategy\022\017\n\013AS_FUNCTION\020\000\022\014\n\010IN_PL" +
|
||||
"ACE\020\001\022\016\n\nNOT_INLINE\020\002*c\n\017SpecialFunction" +
|
||||
"\022\032\n\026DEFINE_INLINE_FUNCTION\020\001\022\021\n\rWRAP_FUN" +
|
||||
"CTION\020\002\022\021\n\rTO_BOXED_CHAR\020\003\022\016\n\nUNBOX_CHAR" +
|
||||
"\020\004B\024B\022DebugJsAstProtoBuf"
|
||||
"ACE\020\001\022\016\n\nNOT_INLINE\020\002*\275\001\n\017SpecialFunctio" +
|
||||
"n\022\032\n\026DEFINE_INLINE_FUNCTION\020\001\022\021\n\rWRAP_FU" +
|
||||
"NCTION\020\002\022\021\n\rTO_BOXED_CHAR\020\003\022\016\n\nUNBOX_CHA" +
|
||||
"R\020\004\022\020\n\014SUSPEND_CALL\020\005\022\024\n\020COROUTINE_RESUL" +
|
||||
"T\020\006\022\030\n\024COROUTINE_CONTROLLER\020\007\022\026\n\022COROUTI" +
|
||||
"NE_RECEIVER\020\010B\024B\022DebugJsAstProtoBuf"
|
||||
};
|
||||
org.jetbrains.kotlin.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new org.jetbrains.kotlin.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||||
|
||||
Reference in New Issue
Block a user