public final class com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement
super_class: java.lang.Object
{
private final java.lang.String fileName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String functionName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.api.source.SourceSection sourceSection;
descriptor: Lcom/oracle/truffle/api/source/SourceSection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object thisObj;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object functionObj;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.api.source.SourceSection targetSourceSection;
descriptor: Lcom/oracle/truffle/api/source/SourceSection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean strict;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean eval;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean global;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean inNashornMode;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean async;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int promiseIndex;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/js/runtime/GraalJSException;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, java.lang.String, com.oracle.truffle.api.source.SourceSection, java.lang.Object, java.lang.Object, com.oracle.truffle.api.source.SourceSection, boolean, boolean, boolean, boolean, boolean, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lcom/oracle/truffle/api/source/SourceSection;Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/api/source/SourceSection;ZZZZZI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=13, args_size=13
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
2: aload 0
aload 1
putfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.fileName:Ljava/lang/String;
3: aload 0
aload 2
putfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionName:Ljava/lang/String;
4: aload 0
aload 3
putfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
5: aload 0
aload 4
putfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
6: aload 0
aload 5
putfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionObj:Ljava/lang/Object;
7: aload 0
aload 6
putfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.targetSourceSection:Lcom/oracle/truffle/api/source/SourceSection;
8: aload 0
iload 7
putfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.strict:Z
9: aload 0
iload 8
putfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.eval:Z
10: aload 0
iload 9
putfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.global:Z
11: aload 0
iload 10
putfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.inNashornMode:Z
12: aload 0
iload 11
putfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.async:Z
13: aload 0
iload 12
putfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.promiseIndex:I
14: return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
0 15 1 fileName Ljava/lang/String;
0 15 2 functionName Ljava/lang/String;
0 15 3 sourceSection Lcom/oracle/truffle/api/source/SourceSection;
0 15 4 thisObj Ljava/lang/Object;
0 15 5 functionObj Ljava/lang/Object;
0 15 6 targetSourceSection Lcom/oracle/truffle/api/source/SourceSection;
0 15 7 strict Z
0 15 8 eval Z
0 15 9 global Z
0 15 10 inNashornMode Z
0 15 11 async Z
0 15 12 promiseIndex I
MethodParameters:
Name Flags
fileName
functionName
sourceSection
thisObj
functionObj
targetSourceSection
strict
eval
global
inNashornMode
async
promiseIndex
public java.lang.String getFileName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.fileName:Ljava/lang/String;
ldc "eval at "
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: ldc "<eval>"
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.fileName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
public java.lang.String getClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getTypeName:(Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
public java.lang.String getTypeName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getTypeName:(Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
public java.lang.String getTypeName(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.inNashornMode:Z
ifeq 2
1: new java.lang.StringBuilder
dup
ldc "<"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.fileName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
iload 1
ifeq 4
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.global:Z
ifeq 4
3: ldc "global"
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getThis:()Ljava/lang/Object;
astore 2
start local 2 5: aload 2
getstatic com.oracle.truffle.js.runtime.builtins.JSFunction.CONSTRUCT:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 7
6: aload 0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getFunctionName:()Ljava/lang/String;
areturn
7: StackMap locals: java.lang.Object
StackMap stack:
aload 2
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isNullOrUndefined:(Ljava/lang/Object;)Z
ifne 12
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.global:Z
ifne 12
8: aload 2
invokestatic com.oracle.truffle.js.runtime.objects.JSDynamicObject.isJSDynamicObject:(Ljava/lang/Object;)Z
ifeq 10
9: aload 2
checkcast com.oracle.truffle.api.object.DynamicObject
invokestatic com.oracle.truffle.js.runtime.JSRuntime.getConstructorName:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
aload 2
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isJSPrimitive:(Ljava/lang/Object;)Z
ifeq 12
11: aload 2
invokestatic com.oracle.truffle.js.runtime.GraalJSException.getPrimitiveConstructorName:(Ljava/lang/Object;)Ljava/lang/String;
areturn
12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
0 13 1 checkGlobal Z
5 13 2 thisObject Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
checkGlobal
public java.lang.String getFunctionName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionObj:Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isJSFunction:(Ljava/lang/Object;)Z
ifeq 5
1: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionObj:Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
invokestatic com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.findFunctionName:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/String;
astore 1
start local 1 2: aload 1
ifnull 5
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifne 5
3: aload 0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.isEval:()Z
ifeq 4
aload 1
ldc "anonymous"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionObj:Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getJSContext:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.isOptionV8CompatibilityMode:()Z
ifne 5
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
2 5 1 dynamicName Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
private static java.lang.String findFunctionName(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.$assertionsDisabled:Z
ifne 1
aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isJSFunction:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
ldc "name"
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getOwnProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
astore 1
start local 1 2: aload 1
ifnull 7
3: aload 1
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.isDataDescriptor:()Z
ifeq 7
4: aload 1
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getValue:()Ljava/lang/Object;
astore 2
start local 2 5: aload 2
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isString:(Ljava/lang/Object;)Z
ifeq 7
6: aload 2
invokestatic com.oracle.truffle.js.runtime.JSRuntime.javaToString:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 7: StackMap locals: com.oracle.truffle.js.runtime.objects.PropertyDescriptor
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 functionObj Lcom/oracle/truffle/api/object/DynamicObject;
2 8 1 desc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
5 7 2 name Ljava/lang/Object;
MethodParameters:
Name Flags
functionObj
public java.lang.String getMethodName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.truffle.js.lang.JavaScriptLanguage.getCurrentJSRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getMethodName:(Lcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
public java.lang.String getMethodName(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.truffle.js.runtime.JSContext.isOptionNashornCompatibilityMode:()Z
ifeq 2
1: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionName:Ljava/lang/String;
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSError.correctMethodName:(Ljava/lang/String;Lcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isNullOrUndefined:(Ljava/lang/Object;)Z
ifne 3
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.objects.JSDynamicObject.isJSDynamicObject:(Ljava/lang/Object;)Z
ifne 4
3: StackMap locals:
StackMap stack:
aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionObj:Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isJSFunction:(Ljava/lang/Object;)Z
ifne 6
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
astore 2
start local 2 7: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionObj:Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
astore 3
start local 3 8: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionName:Ljava/lang/String;
ifnull 12
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionName:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 12
9: aload 2
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionName:Ljava/lang/String;
aload 3
invokestatic com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.findMethodPropertyNameByFunctionName:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/String;
astore 4
start local 4 10: aload 4
ifnull 12
11: aload 4
areturn
end local 4 12: StackMap locals: com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.api.object.DynamicObject
StackMap stack:
aload 2
aload 3
invokestatic com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.findMethodPropertyName:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
0 13 1 context Lcom/oracle/truffle/js/runtime/JSContext;
7 13 2 receiver Lcom/oracle/truffle/api/object/DynamicObject;
8 13 3 function Lcom/oracle/truffle/api/object/DynamicObject;
10 12 4 name Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
private static java.lang.String findMethodPropertyNameByFunctionName(com.oracle.truffle.api.object.DynamicObject, java.lang.String, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: aload 3
ldc "get "
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 3
aload 3
ldc "set "
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
3: StackMap locals: java.lang.String int
StackMap stack:
aload 3
iconst_4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
4: iconst_1
istore 4
5: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifeq 7
6: aconst_null
areturn
7: StackMap locals:
StackMap stack:
aload 0
astore 5
start local 5 8: goto 14
9: StackMap locals: com.oracle.truffle.api.object.DynamicObject
StackMap stack:
aload 5
aload 3
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getOwnProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
astore 6
start local 6 10: aload 6
ifnull 13
11: aload 6
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.isAccessorDescriptor:()Z
iload 4
if_icmpne 15
aload 6
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getValue:()Ljava/lang/Object;
aload 2
if_acmpeq 12
aload 6
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getGet:()Ljava/lang/Object;
aload 2
if_acmpeq 12
aload 6
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getSet:()Ljava/lang/Object;
aload 2
if_acmpne 15
12: StackMap locals: com.oracle.truffle.js.runtime.objects.PropertyDescriptor
StackMap stack:
aload 3
areturn
end local 6 13: StackMap locals:
StackMap stack:
aload 5
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getPrototype:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 5
StackMap locals:
StackMap stack:
14: aload 5
getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 15
aload 5
invokestatic com.oracle.truffle.js.runtime.builtins.JSProxy.isJSProxy:(Ljava/lang/Object;)Z
ifeq 9
end local 5 15: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 receiver Lcom/oracle/truffle/api/object/DynamicObject;
0 16 1 functionName Ljava/lang/String;
0 16 2 functionObj Lcom/oracle/truffle/api/object/DynamicObject;
1 16 3 propertyName Ljava/lang/String;
2 16 4 accessor Z
8 15 5 current Lcom/oracle/truffle/api/object/DynamicObject;
10 13 6 desc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
MethodParameters:
Name Flags
receiver
functionName
functionObj
private static java.lang.String findMethodPropertyName(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
astore 3
start local 3 2: goto 13
3: StackMap locals: java.lang.String com.oracle.truffle.api.object.DynamicObject
StackMap stack:
aload 3
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.enumerableOwnNames:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.api.object.DynamicObject java.lang.String com.oracle.truffle.api.object.DynamicObject top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 5: aload 3
aload 4
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getOwnProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
astore 6
start local 6 6: aload 6
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getValue:()Ljava/lang/Object;
aload 1
if_acmpeq 7
aload 6
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getGet:()Ljava/lang/Object;
aload 1
if_acmpeq 7
aload 6
invokevirtual com.oracle.truffle.js.runtime.objects.PropertyDescriptor.getSet:()Ljava/lang/Object;
aload 1
if_acmpne 11
7: StackMap locals: com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.api.object.DynamicObject java.lang.String com.oracle.truffle.api.object.DynamicObject java.lang.String java.util.Iterator com.oracle.truffle.js.runtime.objects.PropertyDescriptor
StackMap stack:
aload 2
ifnonnull 10
8: aload 4
astore 2
9: goto 11
10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 6 end local 4 11: StackMap locals: com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.api.object.DynamicObject java.lang.String com.oracle.truffle.api.object.DynamicObject top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
12: aload 3
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getPrototype:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 3
StackMap locals: com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.api.object.DynamicObject java.lang.String com.oracle.truffle.api.object.DynamicObject
StackMap stack:
13: aload 3
getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 14
aload 3
invokestatic com.oracle.truffle.js.runtime.builtins.JSProxy.isJSProxy:(Ljava/lang/Object;)Z
ifeq 3
end local 3 14: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 receiver Lcom/oracle/truffle/api/object/DynamicObject;
0 15 1 functionObj Lcom/oracle/truffle/api/object/DynamicObject;
1 15 2 name Ljava/lang/String;
2 14 3 current Lcom/oracle/truffle/api/object/DynamicObject;
5 11 4 key Ljava/lang/String;
6 11 6 desc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
MethodParameters:
Name Flags
receiver
functionObj
public int getLineNumber();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
ifnonnull 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
invokevirtual com.oracle.truffle.api.source.SourceSection.getStartLine:()I
istore 1
start local 1 3: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.inNashornMode:Z
ifne 12
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.targetSourceSection:Lcom/oracle/truffle/api/source/SourceSection;
ifnull 12
4: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.targetSourceSection:Lcom/oracle/truffle/api/source/SourceSection;
invokestatic com.oracle.truffle.js.runtime.GraalJSException.sourceSectionOffset:(Lcom/oracle/truffle/api/source/SourceSection;Lcom/oracle/truffle/api/source/SourceSection;)I
istore 2
start local 2 5: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
invokevirtual com.oracle.truffle.api.source.SourceSection.getCharacters:()Ljava/lang/CharSequence;
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 11
8: StackMap locals: com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement int int java.lang.CharSequence int
StackMap stack:
aload 3
iload 4
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 10
if_icmpne 10
9: iinc 1 1
10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 2
if_icmplt 8
end local 4 end local 3 end local 2 12: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
3 13 1 lineNumber I
5 12 2 offset I
6 12 3 chars Ljava/lang/CharSequence;
7 12 4 pos I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
public java.lang.String getLine();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getLineNumber:()I
istore 1
start local 1 1: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
ifnull 2
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
invokevirtual com.oracle.truffle.api.source.SourceSection.getSource:()Lcom/oracle/truffle/api/source/Source;
ifnull 2
iload 1
ifgt 3
2: StackMap locals: int
StackMap stack:
ldc "<unknown>"
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
invokevirtual com.oracle.truffle.api.source.SourceSection.getSource:()Lcom/oracle/truffle/api/source/Source;
iload 1
invokevirtual com.oracle.truffle.api.source.Source.getCharacters:(I)Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
1 4 1 lineNumber I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
public int getColumnNumber();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
ifnonnull 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
invokevirtual com.oracle.truffle.api.source.SourceSection.getStartColumn:()I
istore 1
start local 1 3: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.inNashornMode:Z
ifne 14
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.targetSourceSection:Lcom/oracle/truffle/api/source/SourceSection;
ifnull 14
4: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.targetSourceSection:Lcom/oracle/truffle/api/source/SourceSection;
invokestatic com.oracle.truffle.js.runtime.GraalJSException.sourceSectionOffset:(Lcom/oracle/truffle/api/source/SourceSection;Lcom/oracle/truffle/api/source/SourceSection;)I
istore 2
start local 2 5: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
invokevirtual com.oracle.truffle.api.source.SourceSection.getCharacters:()Ljava/lang/CharSequence;
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 13
8: StackMap locals: com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement int int java.lang.CharSequence int
StackMap stack:
aload 3
iload 4
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 10
if_icmpne 11
9: iconst_1
istore 1
10: goto 12
11: StackMap locals:
StackMap stack:
iinc 1 1
12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 2
if_icmplt 8
end local 4 end local 3 end local 2 14: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
3 15 1 columnNumber I
5 14 2 offset I
6 14 3 chars Ljava/lang/CharSequence;
7 14 4 pos I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
public int getPosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
ifnull 1
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
invokevirtual com.oracle.truffle.api.source.SourceSection.getCharIndex:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_m1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
public java.lang.Object getThis();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
public java.lang.Object getThisOrGlobal();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.global:Z
ifeq 5
1: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isNullOrUndefined:(Ljava/lang/Object;)Z
ifeq 3
2: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionObj:Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getRealm:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/JSRealm;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getGlobalObject:()Lcom/oracle/truffle/api/object/DynamicObject;
areturn
3: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.$assertionsDisabled:Z
ifne 4
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionObj:Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getRealm:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/JSRealm;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getGlobalObject:()Lcom/oracle/truffle/api/object/DynamicObject;
if_acmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
getstatic com.oracle.truffle.js.runtime.builtins.JSFunction.CONSTRUCT:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 6
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
goto 7
StackMap locals:
StackMap stack:
6: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
7: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
public java.lang.Object getFunction();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionObj:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
public boolean isStrict();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.strict:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
public boolean isConstructor();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
getstatic com.oracle.truffle.js.runtime.builtins.JSFunction.CONSTRUCT:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isNullOrUndefined:(Ljava/lang/Object;)Z
ifne 6
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.objects.JSDynamicObject.isJSDynamicObject:(Ljava/lang/Object;)Z
ifeq 6
3: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.thisObj:Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
ldc "constructor"
invokestatic com.oracle.truffle.js.runtime.JSRuntime.getDataProperty:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 4: aload 1
ifnull 5
aload 1
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.functionObj:Ljava/lang/Object;
if_acmpne 5
iconst_1
ireturn
StackMap locals: java.lang.Object
StackMap stack:
5: iconst_0
ireturn
end local 1 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
4 6 1 constructor Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
public boolean isEval();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.eval:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
public java.lang.String getEvalOrigin();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.fileName:Ljava/lang/String;
ldc "<"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.fileName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
public int getPromiseIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.promiseIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
public boolean isPromiseAll();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.promiseIndex:I
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
public boolean isAsync();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.async:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic com.oracle.truffle.js.lang.JavaScriptLanguage.getCurrentJSRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.toString:(Lcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
1 2 1 context Lcom/oracle/truffle/js/runtime/JSContext;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
public java.lang.String toString(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.isPromiseAll:()Z
ifeq 4
2: aload 2
ldc "async"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
ldc "Promise.all"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "index"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.promiseIndex:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getClassName:()Ljava/lang/String;
astore 3
start local 3 5: aload 0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getFunctionName:()Ljava/lang/String;
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSError.correctMethodName:(Ljava/lang/String;Lcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/String;
astore 4
start local 4 6: aload 4
ifnull 7
aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifeq 12
7: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getMethodName:(Lcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/String;
astore 5
start local 5 8: aload 5
ifnonnull 11
9: aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSError.getAnonymousFunctionNameStackTrace:(Lcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/String;
astore 4
10: goto 12
11: StackMap locals: java.lang.String
StackMap stack:
aload 5
astore 4
end local 5 12: StackMap locals:
StackMap stack:
aload 3
ifnonnull 13
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSError.getAnonymousFunctionNameStackTrace:(Lcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/String;
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
iconst_0
goto 14
StackMap locals:
StackMap stack:
13: iconst_1
StackMap locals:
StackMap stack: int
14: istore 5
start local 5 15: iload 5
ifeq 26
16: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.async:Z
ifeq 18
17: aload 2
ldc "async"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
18: StackMap locals: int
StackMap stack:
aload 3
ifnull 24
19: aload 3
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
20: aload 0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.isConstructor:()Z
ifeq 24
21: aload 2
ldc "new "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: goto 24
23: StackMap locals:
StackMap stack:
aload 2
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
24: StackMap locals:
StackMap stack:
aload 2
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
25: aload 2
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.sourceSection:Lcom/oracle/truffle/api/source/SourceSection;
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isBuiltinSourceSection:(Lcom/oracle/truffle/api/source/SourceSection;)Z
ifeq 29
27: aload 2
ldc "native"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
28: goto 40
29: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getEvalOrigin:()Ljava/lang/String;
astore 6
start local 6 30: aload 6
ifnull 31
aload 6
goto 32
StackMap locals: java.lang.String
StackMap stack:
31: aload 0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getFileName:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
32: astore 7
start local 7 33: aload 2
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
34: aload 0
getfield com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.eval:Z
ifeq 36
35: aload 2
ldc ", <anonymous>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
36: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
37: aload 2
aload 0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getLineNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
38: aload 2
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
39: aload 2
aload 0
invokevirtual com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement.getColumnNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
end local 7 end local 6 40: StackMap locals:
StackMap stack:
iload 5
ifeq 42
41: aload 2
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
42: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lcom/oracle/truffle/js/runtime/GraalJSException$JSStackTraceElement;
0 43 1 context Lcom/oracle/truffle/js/runtime/JSContext;
1 43 2 builder Ljava/lang/StringBuilder;
5 43 3 className Ljava/lang/String;
6 43 4 methodName Ljava/lang/String;
8 12 5 name Ljava/lang/String;
15 43 5 includeMethodName Z
30 40 6 evalOrigin Ljava/lang/String;
33 40 7 sourceName Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
}
SourceFile: "GraalJSException.java"
NestHost: com.oracle.truffle.js.runtime.GraalJSException
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public final JSStackTraceElement = com.oracle.truffle.js.runtime.GraalJSException$JSStackTraceElement of com.oracle.truffle.js.runtime.GraalJSException