Avoid state machine build for suspend function with single inline call
#KT-18949 Fixed
This commit is contained in:
+1
-1
@@ -757,4 +757,4 @@ private fun AbstractInsnNode?.isInvisibleInDebugVarInsn(methodNode: MethodNode):
|
|||||||
}
|
}
|
||||||
|
|
||||||
private val SAFE_OPCODES =
|
private val SAFE_OPCODES =
|
||||||
((Opcodes.DUP..Opcodes.DUP2_X2) + Opcodes.POP + Opcodes.POP2 + (Opcodes.IFEQ..Opcodes.GOTO)).toSet()
|
((Opcodes.DUP..Opcodes.DUP2_X2) + Opcodes.NOP + Opcodes.POP + Opcodes.POP2 + (Opcodes.IFEQ..Opcodes.GOTO)).toSet()
|
||||||
|
|||||||
Vendored
-13
@@ -24,23 +24,10 @@ final class InlineWithoutStateMachineKt$complexSuspend$1 {
|
|||||||
synthetic final method setLabel(p0: int): void
|
synthetic final method setLabel(p0: int): void
|
||||||
}
|
}
|
||||||
|
|
||||||
@kotlin.Metadata
|
|
||||||
final class InlineWithoutStateMachineKt$suspendHere$1 {
|
|
||||||
field L$0: java.lang.Object
|
|
||||||
synthetic field data: java.lang.Object
|
|
||||||
synthetic field exception: java.lang.Throwable
|
|
||||||
inner class InlineWithoutStateMachineKt$suspendHere$1
|
|
||||||
method <init>(p0: kotlin.coroutines.experimental.Continuation): void
|
|
||||||
public final @org.jetbrains.annotations.Nullable method doResume(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Throwable): java.lang.Object
|
|
||||||
synthetic final method getLabel(): int
|
|
||||||
synthetic final method setLabel(p0: int): void
|
|
||||||
}
|
|
||||||
|
|
||||||
@kotlin.Metadata
|
@kotlin.Metadata
|
||||||
public final class InlineWithoutStateMachineKt {
|
public final class InlineWithoutStateMachineKt {
|
||||||
inner class InlineWithoutStateMachineKt$box$1
|
inner class InlineWithoutStateMachineKt$box$1
|
||||||
inner class InlineWithoutStateMachineKt$complexSuspend$1
|
inner class InlineWithoutStateMachineKt$complexSuspend$1
|
||||||
inner class InlineWithoutStateMachineKt$suspendHere$1
|
|
||||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||||
public final static method builder(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): void
|
public final static method builder(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): void
|
||||||
public final static @org.jetbrains.annotations.Nullable method complexSuspend(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
public final static @org.jetbrains.annotations.Nullable method complexSuspend(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
|||||||
Reference in New Issue
Block a user