public abstract class com.oracle.truffle.js.builtins.DebugBuiltins$DebugCompileFunctionNode extends com.oracle.truffle.js.nodes.function.JSBuiltinNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.builtins.DebugBuiltins$DebugCompileFunctionNode
super_class: com.oracle.truffle.js.nodes.function.JSBuiltinNode
{
private static final java.lang.invoke.MethodHandle COMPILE_HANDLE;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: aconst_null
astore 0
start local 0 1: invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
invokeinterface com.oracle.truffle.api.TruffleRuntime.getName:()Ljava/lang/String;
ldc "Graal"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 8
2: ldc "com.oracle.graal.truffle.OptimizedCallTarget"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
ldc Lcom/oracle/truffle/api/CallTarget;
invokevirtual java.lang.Class.asSubclass:(Ljava/lang/Class;)Ljava/lang/Class;
astore 1
start local 1 3: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
aload 1
ldc "compile"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodHandles$Lookup.findVirtual:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
4: getstatic java.lang.Void.TYPE:Ljava/lang/Class;
ldc Lcom/oracle/truffle/api/CallTarget;
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
5: invokevirtual java.lang.invoke.MethodHandle.asType:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 0
end local 1 6: goto 8
StackMap locals: java.lang.invoke.MethodHandle
StackMap stack: java.lang.Exception
7: pop
8: StackMap locals:
StackMap stack:
aload 0
putstatic com.oracle.truffle.js.builtins.DebugBuiltins$DebugCompileFunctionNode.COMPILE_HANDLE:Ljava/lang/invoke/MethodHandle;
end local 0 9: return
LocalVariableTable:
Start End Slot Name Signature
1 9 0 compileHandle Ljava/lang/invoke/MethodHandle;
3 6 1 optimizedCallTargetClass Ljava/lang/Class<+Lcom/oracle/truffle/api/CallTarget;>;
Exception table:
from to target type
2 6 7 Class java.lang.ClassNotFoundException
2 6 7 Class java.lang.IllegalAccessException
2 6 7 Class java.lang.NoSuchMethodException
2 6 7 Class java.lang.SecurityException
public void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSBuiltin);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.nodes.function.JSBuiltinNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/builtins/DebugBuiltins$DebugCompileFunctionNode;
0 2 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 2 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
MethodParameters:
Name Flags
context
builtin
protected static boolean compileFunction(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isJSFunction:(Ljava/lang/Object;)Z
ifne 2
1: aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorNotAFunction:(Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
checkcast com.oracle.truffle.api.object.DynamicObject
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getCallTarget:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/CallTarget;
astore 1
start local 1 3: getstatic com.oracle.truffle.js.builtins.DebugBuiltins$DebugCompileFunctionNode.COMPILE_HANDLE:Ljava/lang/invoke/MethodHandle;
ifnull 7
4: getstatic com.oracle.truffle.js.builtins.DebugBuiltins$DebugCompileFunctionNode.COMPILE_HANDLE:Ljava/lang/invoke/MethodHandle;
aload 1
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Lcom/oracle/truffle/api/CallTarget;)V
5: iconst_1
ireturn
6: StackMap locals: java.lang.Object com.oracle.truffle.api.CallTarget
StackMap stack: java.lang.Throwable
pop
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 fnObj Ljava/lang/Object;
3 8 1 callTarget Lcom/oracle/truffle/api/CallTarget;
Exception table:
from to target type
4 5 6 Class java.lang.Throwable
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
fnObj
}
SourceFile: "DebugBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.DebugBuiltins
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public abstract DebugCompileFunctionNode = com.oracle.truffle.js.builtins.DebugBuiltins$DebugCompileFunctionNode of com.oracle.truffle.js.builtins.DebugBuiltins
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles