public abstract class com.oracle.truffle.js.runtime.builtins.JSObjectFactory
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.runtime.builtins.JSObjectFactory
super_class: java.lang.Object
{
protected final com.oracle.truffle.js.runtime.JSContext context;
descriptor: Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final boolean inObjectProto;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.api.object.DynamicObjectLibrary setProto;
descriptor: Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
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/builtins/JSObjectFactory;
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.builtins.JSObjectFactory.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static com.oracle.truffle.js.runtime.builtins.JSObjectFactory$UnboundProto createUnbound(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.Shape);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/Shape;)Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory$UnboundProto;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.oracle.truffle.js.runtime.builtins.JSObjectFactory$UnboundProto
dup
aload 0
aload 1
invokespecial com.oracle.truffle.js.runtime.builtins.JSObjectFactory$UnboundProto.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/Shape;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/oracle/truffle/js/runtime/JSContext;
0 1 1 factory Lcom/oracle/truffle/api/object/Shape;
MethodParameters:
Name Flags
context
factory
public static com.oracle.truffle.js.runtime.builtins.JSObjectFactory$BoundProto createBound(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.api.object.Shape);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/Shape;)Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory$BoundProto;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.oracle.truffle.js.runtime.builtins.JSObjectFactory$BoundProto
dup
aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.runtime.builtins.JSObjectFactory$BoundProto.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/Shape;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/oracle/truffle/js/runtime/JSContext;
0 1 1 prototype Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 factory Lcom/oracle/truffle/api/object/Shape;
MethodParameters:
Name Flags
context
prototype
factory
public static com.oracle.truffle.js.runtime.builtins.JSObjectFactory createDefault(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.runtime.builtins.PrototypeSupplier, com.oracle.truffle.api.object.Shape);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/builtins/PrototypeSupplier;Lcom/oracle/truffle/api/object/Shape;)Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.oracle.truffle.js.runtime.builtins.JSObjectFactory$Eager
dup
aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.runtime.builtins.JSObjectFactory$Eager.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/builtins/PrototypeSupplier;Lcom/oracle/truffle/api/object/Shape;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/oracle/truffle/js/runtime/JSContext;
0 1 1 prototypeSupplier Lcom/oracle/truffle/js/runtime/builtins/PrototypeSupplier;
0 1 2 factory Lcom/oracle/truffle/api/object/Shape;
MethodParameters:
Name Flags
context
prototypeSupplier
factory
static com.oracle.truffle.js.runtime.builtins.JSObjectFactory createIntrinsic(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.runtime.builtins.PrototypeSupplier, com.oracle.truffle.js.runtime.util.CompilableBiFunction<com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.api.object.Shape>, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/builtins/PrototypeSupplier;Lcom/oracle/truffle/js/runtime/util/CompilableBiFunction;I)Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.oracle.truffle.js.runtime.builtins.JSObjectFactory$LazySupplier
dup
aload 0
aload 1
aload 2
iload 3
invokespecial com.oracle.truffle.js.runtime.builtins.JSObjectFactory$LazySupplier.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/builtins/PrototypeSupplier;Lcom/oracle/truffle/js/runtime/util/CompilableBiFunction;I)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/oracle/truffle/js/runtime/JSContext;
0 1 1 prototypeSupplier Lcom/oracle/truffle/js/runtime/builtins/PrototypeSupplier;
0 1 2 shapeSupplier Lcom/oracle/truffle/js/runtime/util/CompilableBiFunction<Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/Shape;>;
0 1 3 slot I
Signature: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/builtins/PrototypeSupplier;Lcom/oracle/truffle/js/runtime/util/CompilableBiFunction<Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/Shape;>;I)Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
MethodParameters:
Name Flags
context
prototypeSupplier
shapeSupplier
slot
static <T extends com.oracle.truffle.js.runtime.builtins.JSClass extends com.oracle.truffle.js.runtime.builtins.PrototypeSupplier> com.oracle.truffle.js.runtime.builtins.JSObjectFactory createIntrinsic(com.oracle.truffle.js.runtime.JSContext, T, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/builtins/JSClass;I)Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.oracle.truffle.js.runtime.builtins.JSObjectFactory$LazyJSClass
dup
aload 0
aload 1
iload 2
invokespecial com.oracle.truffle.js.runtime.builtins.JSObjectFactory$LazyJSClass.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/builtins/JSClass;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lcom/oracle/truffle/js/runtime/JSContext;
0 1 1 jsclass TT;
0 1 2 slot I
Signature: <T:Lcom/oracle/truffle/js/runtime/builtins/JSClass;:Lcom/oracle/truffle/js/runtime/builtins/PrototypeSupplier;>(Lcom/oracle/truffle/js/runtime/JSContext;TT;I)Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
MethodParameters:
Name Flags
context
jsclass
slot
static com.oracle.truffle.js.runtime.util.CompilableBiFunction<com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.api.object.Shape> defaultShapeSupplier(com.oracle.truffle.js.runtime.builtins.JSClass);
descriptor: (Lcom/oracle/truffle/js/runtime/builtins/JSClass;)Lcom/oracle/truffle/js/runtime/util/CompilableBiFunction;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic apply(Lcom/oracle/truffle/js/runtime/builtins/JSClass;)Lcom/oracle/truffle/js/runtime/util/CompilableBiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
com/oracle/truffle/js/runtime/builtins/JSObjectFactory.lambda$0(Lcom/oracle/truffle/js/runtime/builtins/JSClass;Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape; (6)
(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 jsclass Lcom/oracle/truffle/js/runtime/builtins/JSClass;
Signature: (Lcom/oracle/truffle/js/runtime/builtins/JSClass;)Lcom/oracle/truffle/js/runtime/util/CompilableBiFunction<Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/Shape;>;
MethodParameters:
Name Flags
jsclass
protected void <init>(com.oracle.truffle.js.runtime.JSContext, boolean);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.js.runtime.builtins.JSObjectFactory.context:Lcom/oracle/truffle/js/runtime/JSContext;
2: aload 0
iload 2
putfield com.oracle.truffle.js.runtime.builtins.JSObjectFactory.inObjectProto:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
0 4 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 4 2 inObjectProto Z
MethodParameters:
Name Flags
context
inObjectProto
static boolean verifyPrototype(com.oracle.truffle.api.object.Shape, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/api/object/DynamicObject;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.oracle.truffle.js.runtime.objects.JSShape.getPrototypeProperty:(Lcom/oracle/truffle/api/object/Shape;)Lcom/oracle/truffle/api/object/Property;
invokevirtual com.oracle.truffle.api.object.Property.getLocation:()Lcom/oracle/truffle/api/object/Location;
invokevirtual com.oracle.truffle.api.object.Location.isConstant:()Z
ifeq 1
aload 0
invokestatic com.oracle.truffle.js.runtime.objects.JSShape.getPrototypeProperty:(Lcom/oracle/truffle/api/object/Shape;)Lcom/oracle/truffle/api/object/Property;
invokevirtual com.oracle.truffle.api.object.Property.getLocation:()Lcom/oracle/truffle/api/object/Location;
aconst_null
invokevirtual com.oracle.truffle.api.object.Location.get:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/Object;
aload 1
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 shape Lcom/oracle/truffle/api/object/Shape;
0 2 1 prototype Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
shape
prototype
protected abstract com.oracle.truffle.api.object.DynamicObject getPrototype(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
static boolean hasInObjectProto(com.oracle.truffle.api.object.Shape);
descriptor: (Lcom/oracle/truffle/api/object/Shape;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.truffle.js.runtime.objects.JSShape.getPrototypeProperty:(Lcom/oracle/truffle/api/object/Shape;)Lcom/oracle/truffle/api/object/Property;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual com.oracle.truffle.api.object.Property.getLocation:()Lcom/oracle/truffle/api/object/Location;
invokevirtual com.oracle.truffle.api.object.Location.isConstant:()Z
ifeq 2
iconst_0
ireturn
StackMap locals: com.oracle.truffle.api.object.Property
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 shape Lcom/oracle/truffle/api/object/Shape;
1 3 1 prototypeProperty Lcom/oracle/truffle/api/object/Property;
MethodParameters:
Name Flags
shape
protected abstract com.oracle.truffle.api.object.Shape getShape(com.oracle.truffle.js.runtime.JSRealm, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
realm
prototype
public final com.oracle.truffle.api.object.Shape getShape(com.oracle.truffle.js.runtime.JSRealm);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/Shape;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.getPrototype:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.getShape:(Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
0 1 1 realm Lcom/oracle/truffle/js/runtime/JSRealm;
MethodParameters:
Name Flags
realm
public final com.oracle.truffle.api.object.Shape getShape();
descriptor: ()Lcom/oracle/truffle/api/object/Shape;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSObjectFactory.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
astore 1
start local 1 1: aload 0
aload 1
aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.getPrototype:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.getShape:(Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
1 2 1 realm Lcom/oracle/truffle/js/runtime/JSRealm;
public final <T extends com.oracle.truffle.api.object.DynamicObject> T initProto(T, com.oracle.truffle.js.runtime.JSRealm);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 0
aload 2
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.getPrototype:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.initProto:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)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/runtime/builtins/JSObjectFactory;
0 1 1 obj TT;
0 1 2 realm Lcom/oracle/truffle/js/runtime/JSRealm;
Signature: <T:Lcom/oracle/truffle/api/object/DynamicObject;>(TT;Lcom/oracle/truffle/js/runtime/JSRealm;)TT;
MethodParameters:
Name Flags
obj
realm
public final <T extends com.oracle.truffle.api.object.DynamicObject> T initProto(T, 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: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.isInObjectProto:()Z
ifeq 3
1: aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.setPrototype:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)V
2: goto 4
3: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.js.runtime.builtins.JSObjectFactory.$assertionsDisabled:Z
ifne 4
aload 1
invokevirtual com.oracle.truffle.api.object.DynamicObject.getShape:()Lcom/oracle/truffle/api/object/Shape;
aload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSObjectFactory.verifyPrototype:(Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/api/object/DynamicObject;)Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
0 5 1 obj TT;
0 5 2 prototype Lcom/oracle/truffle/api/object/DynamicObject;
Signature: <T:Lcom/oracle/truffle/api/object/DynamicObject;>(TT;Lcom/oracle/truffle/api/object/DynamicObject;)TT;
MethodParameters:
Name Flags
obj
prototype
protected void setPrototype(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;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSObjectFactory.setProto:Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSObjectFactory.context:Lcom/oracle/truffle/js/runtime/JSContext;
getstatic com.oracle.truffle.js.runtime.objects.JSObject.HIDDEN_PROTO:Lcom/oracle/truffle/api/object/HiddenKey;
aload 1
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.createCached:(Ljava/lang/Object;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
invokevirtual com.oracle.truffle.js.runtime.JSContext.adoptNode:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.api.object.DynamicObjectLibrary
putfield com.oracle.truffle.js.runtime.builtins.JSObjectFactory.setProto:Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSObjectFactory.setProto:Lcom/oracle/truffle/api/object/DynamicObjectLibrary;
aload 1
getstatic com.oracle.truffle.js.runtime.objects.JSObject.HIDDEN_PROTO:Lcom/oracle/truffle/api/object/HiddenKey;
aload 2
invokevirtual com.oracle.truffle.api.object.DynamicObjectLibrary.put:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
0 5 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
0 5 2 prototype Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
obj
prototype
public final <T extends com.oracle.truffle.api.object.DynamicObject> T trackAllocation();
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSObjectFactory.context:Lcom/oracle/truffle/js/runtime/JSContext;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSContext.trackAllocation:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.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/runtime/builtins/JSObjectFactory;
0 1 1 obj TT;
Signature: <T:Lcom/oracle/truffle/api/object/DynamicObject;>(TT;)TT;
MethodParameters:
Name Flags
obj
protected final boolean isInObjectProto();
descriptor: ()Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSObjectFactory.inObjectProto:Z
ifeq 1
aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSObjectFactory.context:Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.isMultiContext:()Z
ifeq 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/builtins/JSObjectFactory;
private static com.oracle.truffle.api.object.Shape lambda$0(com.oracle.truffle.js.runtime.builtins.JSClass, com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/js/runtime/builtins/JSClass;Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 1 start local 2 0: aload 2
aload 0
aload 1
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.getProtoChildShape:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/builtins/JSClass;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/api/object/Shape;
areturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 ctx Lcom/oracle/truffle/js/runtime/JSContext;
0 1 2 proto Lcom/oracle/truffle/api/object/DynamicObject;
}
SourceFile: "JSObjectFactory.java"
NestMembers:
com.oracle.truffle.js.runtime.builtins.JSObjectFactory$BoundProto com.oracle.truffle.js.runtime.builtins.JSObjectFactory$Eager com.oracle.truffle.js.runtime.builtins.JSObjectFactory$IntrinsicBuilder com.oracle.truffle.js.runtime.builtins.JSObjectFactory$Lazy com.oracle.truffle.js.runtime.builtins.JSObjectFactory$LazyJSClass com.oracle.truffle.js.runtime.builtins.JSObjectFactory$LazySupplier com.oracle.truffle.js.runtime.builtins.JSObjectFactory$RealmData com.oracle.truffle.js.runtime.builtins.JSObjectFactory$UnboundProto
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
public final BoundProto = com.oracle.truffle.js.runtime.builtins.JSObjectFactory$BoundProto of com.oracle.truffle.js.runtime.builtins.JSObjectFactory
private final Eager = com.oracle.truffle.js.runtime.builtins.JSObjectFactory$Eager of com.oracle.truffle.js.runtime.builtins.JSObjectFactory
public final IntrinsicBuilder = com.oracle.truffle.js.runtime.builtins.JSObjectFactory$IntrinsicBuilder of com.oracle.truffle.js.runtime.builtins.JSObjectFactory
private abstract Lazy = com.oracle.truffle.js.runtime.builtins.JSObjectFactory$Lazy of com.oracle.truffle.js.runtime.builtins.JSObjectFactory
private final LazyJSClass = com.oracle.truffle.js.runtime.builtins.JSObjectFactory$LazyJSClass of com.oracle.truffle.js.runtime.builtins.JSObjectFactory
private final LazySupplier = com.oracle.truffle.js.runtime.builtins.JSObjectFactory$LazySupplier of com.oracle.truffle.js.runtime.builtins.JSObjectFactory
public final RealmData = com.oracle.truffle.js.runtime.builtins.JSObjectFactory$RealmData of com.oracle.truffle.js.runtime.builtins.JSObjectFactory
public final UnboundProto = com.oracle.truffle.js.runtime.builtins.JSObjectFactory$UnboundProto of com.oracle.truffle.js.runtime.builtins.JSObjectFactory
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles