public abstract class com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode extends com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode
super_class: com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode
{
private final com.oracle.truffle.js.runtime.JSErrorType errorType;
descriptor: Lcom/oracle/truffle/js/runtime/JSErrorType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.js.nodes.access.ErrorStackTraceLimitNode stackTraceLimitNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/ErrorStackTraceLimitNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
private com.oracle.truffle.js.nodes.access.InitErrorObjectNode initErrorObjectNode;
descriptor: Lcom/oracle/truffle/js/nodes/access/InitErrorObjectNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
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/builtins/ConstructorBuiltins;
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.builtins.ConstructorBuiltins$ConstructErrorNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSBuiltin, boolean);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
invokespecial com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;Z)V
1: aload 0
aload 0
invokevirtual com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.getBuiltin:()Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
invokevirtual com.oracle.truffle.js.nodes.function.JSBuiltin.getName:()Ljava/lang/String;
invokestatic com.oracle.truffle.js.runtime.JSErrorType.valueOf:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSErrorType;
putfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.errorType:Lcom/oracle/truffle/js/runtime/JSErrorType;
2: aload 0
aload 1
invokestatic com.oracle.truffle.js.nodes.access.ErrorStackTraceLimitNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/ErrorStackTraceLimitNode;
putfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.stackTraceLimitNode:Lcom/oracle/truffle/js/nodes/access/ErrorStackTraceLimitNode;
3: aload 0
aload 1
invokestatic com.oracle.truffle.js.nodes.access.InitErrorObjectNode.create:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/access/InitErrorObjectNode;
putfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.initErrorObjectNode:Lcom/oracle/truffle/js/nodes/access/InitErrorObjectNode;
4: getstatic com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.$assertionsDisabled:Z
ifne 5
aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.errorType:Lcom/oracle/truffle/js/runtime/JSErrorType;
getstatic com.oracle.truffle.js.runtime.JSErrorType.AggregateError:Lcom/oracle/truffle/js/runtime/JSErrorType;
if_acmpne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode com.oracle.truffle.js.runtime.JSContext com.oracle.truffle.js.nodes.function.JSBuiltin int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/builtins/ConstructorBuiltins$ConstructErrorNode;
0 6 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 6 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
0 6 3 isNewTargetCase Z
MethodParameters:
Name Flags
context
builtin
isNewTargetCase
protected com.oracle.truffle.api.object.DynamicObject constructError(com.oracle.truffle.api.object.DynamicObject, java.lang.String);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.constructErrorImpl:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/builtins/ConstructorBuiltins$ConstructErrorNode;
0 1 1 newTarget Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
newTarget
message
protected com.oracle.truffle.api.object.DynamicObject constructError(com.oracle.truffle.api.object.DynamicObject, java.lang.Object, com.oracle.truffle.js.nodes.cast.JSToStringNode);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 1
aconst_null
goto 2
StackMap locals: com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode com.oracle.truffle.api.object.DynamicObject java.lang.Object com.oracle.truffle.js.nodes.cast.JSToStringNode
StackMap stack: com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode com.oracle.truffle.api.object.DynamicObject
1: aload 3
aload 2
invokevirtual com.oracle.truffle.js.nodes.cast.JSToStringNode.executeString:(Ljava/lang/Object;)Ljava/lang/String;
StackMap locals: com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode com.oracle.truffle.api.object.DynamicObject java.lang.Object com.oracle.truffle.js.nodes.cast.JSToStringNode
StackMap stack: com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode com.oracle.truffle.api.object.DynamicObject java.lang.String
2: invokevirtual com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.constructErrorImpl:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/builtins/ConstructorBuiltins$ConstructErrorNode;
0 3 1 newTarget Lcom/oracle/truffle/api/object/DynamicObject;
0 3 2 message Ljava/lang/Object;
0 3 3 toStringNode Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached(value = "create()")
MethodParameters:
Name Flags
newTarget
message
toStringNode
private com.oracle.truffle.api.object.DynamicObject constructErrorImpl(com.oracle.truffle.api.object.DynamicObject, java.lang.String);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
astore 3
start local 3 1: aload 3
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
astore 4
start local 4 2: aload 0
invokevirtual com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
aload 4
aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.errorType:Lcom/oracle/truffle/js/runtime/JSErrorType;
invokestatic com.oracle.truffle.js.runtime.builtins.JSError.createErrorObject:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/js/runtime/JSErrorType;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 5
start local 5 3: aload 0
aload 5
aload 1
invokevirtual com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.swapPrototype:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
pop
4: aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.stackTraceLimitNode:Lcom/oracle/truffle/js/nodes/access/ErrorStackTraceLimitNode;
invokevirtual com.oracle.truffle.js.nodes.access.ErrorStackTraceLimitNode.executeInt:()I
istore 6
start local 6 5: aload 4
aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.errorType:Lcom/oracle/truffle/js/runtime/JSErrorType;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getErrorConstructor:(Lcom/oracle/truffle/js/runtime/JSErrorType;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 7
start local 7 6: aload 1
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 7
aload 7
goto 8
StackMap locals: com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode com.oracle.truffle.api.object.DynamicObject java.lang.String com.oracle.truffle.js.runtime.JSContext com.oracle.truffle.js.runtime.JSRealm com.oracle.truffle.api.object.DynamicObject int com.oracle.truffle.api.object.DynamicObject
StackMap stack:
7: aload 1
StackMap locals:
StackMap stack: com.oracle.truffle.api.object.DynamicObject
8: astore 8
start local 8 9: aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.errorType:Lcom/oracle/truffle/js/runtime/JSErrorType;
aload 2
aload 5
aload 4
iload 6
aload 8
invokestatic com.oracle.truffle.js.runtime.JSException.createCapture:(Lcom/oracle/truffle/js/runtime/JSErrorType;Ljava/lang/String;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSRealm;ILcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/JSException;
astore 9
start local 9 10: aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.initErrorObjectNode:Lcom/oracle/truffle/js/nodes/access/InitErrorObjectNode;
aload 5
aload 9
aload 2
invokevirtual com.oracle.truffle.js.nodes.access.InitErrorObjectNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/GraalJSException;Ljava/lang/String;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
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 11 0 this Lcom/oracle/truffle/js/builtins/ConstructorBuiltins$ConstructErrorNode;
0 11 1 newTarget Lcom/oracle/truffle/api/object/DynamicObject;
0 11 2 messageOpt Ljava/lang/String;
1 11 3 context Lcom/oracle/truffle/js/runtime/JSContext;
2 11 4 realm Lcom/oracle/truffle/js/runtime/JSRealm;
3 11 5 errorObj Lcom/oracle/truffle/api/object/DynamicObject;
5 11 6 stackTraceLimit I
6 11 7 errorFunction Lcom/oracle/truffle/api/object/DynamicObject;
9 11 8 skipUntil Lcom/oracle/truffle/api/object/DynamicObject;
10 11 9 exception Lcom/oracle/truffle/js/runtime/GraalJSException;
MethodParameters:
Name Flags
newTarget
messageOpt
protected com.oracle.truffle.api.object.DynamicObject getIntrinsicDefaultProto(com.oracle.truffle.js.runtime.JSRealm);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode.errorType:Lcom/oracle/truffle/js/runtime/JSErrorType;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getErrorPrototype:(Lcom/oracle/truffle/js/runtime/JSErrorType;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/builtins/ConstructorBuiltins$ConstructErrorNode;
0 1 1 realm Lcom/oracle/truffle/js/runtime/JSRealm;
MethodParameters:
Name Flags
realm
}
SourceFile: "ConstructorBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.ConstructorBuiltins
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public abstract ConstructErrorNode = com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructErrorNode of com.oracle.truffle.js.builtins.ConstructorBuiltins
public abstract ConstructWithNewTargetNode = com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode of com.oracle.truffle.js.builtins.ConstructorBuiltins