jet->kotlin fix
This commit is contained in:
@@ -194,7 +194,7 @@ public class InlineCodegenUtil {
|
||||
return false;
|
||||
}
|
||||
|
||||
for (String prefix : Arrays.asList("jet/Function", "jet/ExtensionFunction")) {
|
||||
for (String prefix : Arrays.asList("kotlin/Function", "kotlin/ExtensionFunction")) {
|
||||
if (owner.startsWith(prefix)) {
|
||||
String suffix = owner.substring(prefix.length());
|
||||
if (isInteger(suffix)) {
|
||||
|
||||
@@ -365,7 +365,7 @@ public class MethodInliner {
|
||||
AbstractInsnNode next = cur.getNext();
|
||||
if (next.getType() == AbstractInsnNode.METHOD_INSN) {
|
||||
MethodInsnNode methodInsnNode = (MethodInsnNode) next;
|
||||
if (methodInsnNode.name.equals("checkParameterIsNotNull") && methodInsnNode.owner.equals("jet/runtime/Intrinsics")) {
|
||||
if (methodInsnNode.name.equals("checkParameterIsNotNull") && methodInsnNode.owner.equals("kotlin/jvm/internal/Intrinsics")) {
|
||||
AbstractInsnNode prev = cur.getPrevious();
|
||||
|
||||
assert cur.getOpcode() == Opcodes.LDC : "checkParameterIsNotNull should go after LDC but " + cur;
|
||||
|
||||
Reference in New Issue
Block a user