public abstract class com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode 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.ConstructorBuiltins$ConstructWithNewTargetNode
super_class: com.oracle.truffle.js.nodes.function.JSBuiltinNode
{
protected final boolean isNewTargetCase;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected 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: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 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: aload 0
iload 3
putfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode.isNewTargetCase:Z
2: return
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$ConstructWithNewTargetNode;
0 3 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 3 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
0 3 3 isNewTargetCase Z
MethodParameters:
Name Flags
context
builtin
isNewTargetCase
protected com.oracle.truffle.js.runtime.JSRealm getRealmFromNewTarget(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/JSRealm;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode.isNewTargetCase:Z
ifeq 2
1: aload 1
aload 0
invokevirtual com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.runtime.JSRuntime.getFunctionRealm:(Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/runtime/JSRealm;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/builtins/ConstructorBuiltins$ConstructWithNewTargetNode;
0 3 1 newTarget Ljava/lang/Object;
MethodParameters:
Name Flags
newTarget
protected abstract 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: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
realm
protected com.oracle.truffle.api.object.DynamicObject swapPrototype(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;)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
getfield com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode.isNewTargetCase:Z
ifeq 2
1: aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode.setPrototypeFromNewTarget:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
2: StackMap locals:
StackMap stack:
aload 1
areturn
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$ConstructWithNewTargetNode;
0 3 1 resultObj Lcom/oracle/truffle/api/object/DynamicObject;
0 3 2 newTarget Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
resultObj
newTarget
protected com.oracle.truffle.api.object.DynamicObject setPrototypeFromNewTarget(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;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "prototype"
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.get:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isObject:(Ljava/lang/Object;)Z
ifne 3
2: aload 0
aload 0
aload 2
invokevirtual com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode.getRealmFromNewTarget:(Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/JSRealm;
invokevirtual com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode.getIntrinsicDefaultProto:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 3
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
aload 3
checkcast com.oracle.truffle.api.object.DynamicObject
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.setPrototype:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)Z
pop
4: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/builtins/ConstructorBuiltins$ConstructWithNewTargetNode;
0 5 1 resultObj Lcom/oracle/truffle/api/object/DynamicObject;
0 5 2 newTarget Lcom/oracle/truffle/api/object/DynamicObject;
1 5 3 prototype Ljava/lang/Object;
MethodParameters:
Name Flags
resultObj
newTarget
}
SourceFile: "ConstructorBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.ConstructorBuiltins
InnerClasses:
public abstract ConstructWithNewTargetNode = com.oracle.truffle.js.builtins.ConstructorBuiltins$ConstructWithNewTargetNode of com.oracle.truffle.js.builtins.ConstructorBuiltins