public abstract class com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode extends com.oracle.truffle.js.nodes.JavaScriptBaseNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
com.oracle.truffle.js.nodes.cast.JSToObjectNode toObjectNode;
descriptor: Lcom/oracle/truffle/js/nodes/cast/JSToObjectNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
final com.oracle.truffle.js.runtime.JSContext context;
descriptor: Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0010) ACC_FINAL
public com.oracle.truffle.js.runtime.JSContext getContext();
descriptor: ()Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/intl/ToDateTimeOptionsNode;
public void <init>(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.oracle.truffle.js.nodes.JavaScriptBaseNode.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/intl/ToDateTimeOptionsNode;
0 3 1 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
context
public abstract com.oracle.truffle.api.object.DynamicObject execute(java.lang.Object, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
opts
required
defaults
public com.oracle.truffle.api.object.DynamicObject fromUndefined(java.lang.Object, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.runtime.builtins.JSOrdinary.createWithNullPrototype:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/api/object/DynamicObject;
aload 2
aload 3
invokestatic com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode.setDefaultsIfNeeded:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;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 1 0 this Lcom/oracle/truffle/js/nodes/intl/ToDateTimeOptionsNode;
0 1 1 opts Ljava/lang/Object;
0 1 2 required Ljava/lang/String;
0 1 3 defaults Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isUndefined(opts)"})
MethodParameters:
Name Flags
opts
required
defaults
public com.oracle.truffle.api.object.DynamicObject fromOtherThenUndefined(java.lang.Object, java.lang.String, java.lang.String, com.oracle.truffle.js.nodes.access.CreateObjectNode$CreateObjectWithPrototypeNode);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Lcom/oracle/truffle/js/nodes/access/CreateObjectNode$CreateObjectWithPrototypeNode;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode.toDynamicObject:(Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
invokevirtual com.oracle.truffle.js.nodes.access.CreateObjectNode$CreateObjectWithPrototypeNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 5
start local 5 1: aload 5
aload 2
aload 3
invokestatic com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode.setDefaultsIfNeeded:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/truffle/api/object/DynamicObject;
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 2 0 this Lcom/oracle/truffle/js/nodes/intl/ToDateTimeOptionsNode;
0 2 1 opts Ljava/lang/Object;
0 2 2 required Ljava/lang/String;
0 2 3 defaults Ljava/lang/String;
0 2 4 createObjectNode Lcom/oracle/truffle/js/nodes/access/CreateObjectNode$CreateObjectWithPrototypeNode;
1 2 5 options Lcom/oracle/truffle/api/object/DynamicObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isUndefined(opts)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
3:
com.oracle.truffle.api.dsl.Cached(value = "createOrdinaryWithPrototype(context)")
MethodParameters:
Name Flags
opts
required
defaults
createObjectNode
private static com.oracle.truffle.api.object.DynamicObject setDefaultsIfNeeded(com.oracle.truffle.api.object.DynamicObject, java.lang.String, java.lang.String);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
istore 3
start local 3 1: aload 1
ifnull 11
2: aload 1
ldc "date"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
aload 1
ldc "any"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
3: StackMap locals: int
StackMap stack:
iload 3
aload 0
ldc "weekday"
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.get:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.oracle.truffle.js.nodes.JSGuards.isUndefined:(Ljava/lang/Object;)Z
iand
istore 3
4: iload 3
aload 0
ldc "year"
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.get:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.oracle.truffle.js.nodes.JSGuards.isUndefined:(Ljava/lang/Object;)Z
iand
istore 3
5: iload 3
aload 0
ldc "month"
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.get:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.oracle.truffle.js.nodes.JSGuards.isUndefined:(Ljava/lang/Object;)Z
iand
istore 3
6: iload 3
aload 0
ldc "day"
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.get:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.oracle.truffle.js.nodes.JSGuards.isUndefined:(Ljava/lang/Object;)Z
iand
istore 3
7: StackMap locals:
StackMap stack:
aload 1
ldc "time"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
aload 1
ldc "any"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
8: StackMap locals:
StackMap stack:
iload 3
aload 0
ldc "hour"
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.get:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.oracle.truffle.js.nodes.JSGuards.isUndefined:(Ljava/lang/Object;)Z
iand
istore 3
9: iload 3
aload 0
ldc "minute"
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.get:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.oracle.truffle.js.nodes.JSGuards.isUndefined:(Ljava/lang/Object;)Z
iand
istore 3
10: iload 3
aload 0
ldc "second"
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.get:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.oracle.truffle.js.nodes.JSGuards.isUndefined:(Ljava/lang/Object;)Z
iand
istore 3
11: StackMap locals:
StackMap stack:
aload 0
ldc "dateStyle"
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.get:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 12: aload 0
ldc "timeStyle"
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.get:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 13: aload 4
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 14
aload 5
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 15
14: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
iconst_0
istore 3
15: StackMap locals:
StackMap stack:
ldc "date"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
aload 5
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 17
16: ldc "timeStyle option is not allowed here"
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
17: StackMap locals:
StackMap stack:
ldc "time"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
aload 4
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 19
18: ldc "dateStyle option is not allowed here"
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
19: StackMap locals:
StackMap stack:
aload 2
ifnull 28
20: iload 3
ifeq 24
aload 2
ldc "date"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
aload 2
ldc "all"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
21: StackMap locals:
StackMap stack:
aload 0
ldc "year"
ldc "numeric"
invokestatic com.oracle.truffle.js.runtime.JSRuntime.createDataPropertyOrThrow:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
22: aload 0
ldc "month"
ldc "numeric"
invokestatic com.oracle.truffle.js.runtime.JSRuntime.createDataPropertyOrThrow:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
23: aload 0
ldc "day"
ldc "numeric"
invokestatic com.oracle.truffle.js.runtime.JSRuntime.createDataPropertyOrThrow:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
24: StackMap locals:
StackMap stack:
iload 3
ifeq 28
aload 2
ldc "time"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
aload 2
ldc "all"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
25: StackMap locals:
StackMap stack:
aload 0
ldc "hour"
ldc "numeric"
invokestatic com.oracle.truffle.js.runtime.JSRuntime.createDataPropertyOrThrow:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
26: aload 0
ldc "minute"
ldc "numeric"
invokestatic com.oracle.truffle.js.runtime.JSRuntime.createDataPropertyOrThrow:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
27: aload 0
ldc "second"
ldc "numeric"
invokestatic com.oracle.truffle.js.runtime.JSRuntime.createDataPropertyOrThrow:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
28: StackMap locals:
StackMap stack:
aload 0
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 29 0 options Lcom/oracle/truffle/api/object/DynamicObject;
0 29 1 required Ljava/lang/String;
0 29 2 defaults Ljava/lang/String;
1 29 3 needDefaults Z
12 29 4 dateStyle Ljava/lang/Object;
13 29 5 timeStyle Ljava/lang/Object;
MethodParameters:
Name Flags
options
required
defaults
private com.oracle.truffle.api.object.DynamicObject toDynamicObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode.toObjectNode:Lcom/oracle/truffle/js/nodes/cast/JSToObjectNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
aload 0
invokevirtual com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokestatic com.oracle.truffle.js.nodes.cast.JSToObjectNode.createToObject:(Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/cast/JSToObjectNode;
invokevirtual com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.cast.JSToObjectNode
putfield com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode.toObjectNode:Lcom/oracle/truffle/js/nodes/cast/JSToObjectNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.intl.ToDateTimeOptionsNode.toObjectNode:Lcom/oracle/truffle/js/nodes/cast/JSToObjectNode;
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSToObjectNode.execute:(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 4 0 this Lcom/oracle/truffle/js/nodes/intl/ToDateTimeOptionsNode;
0 4 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
}
SourceFile: "ToDateTimeOptionsNode.java"
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public abstract CreateObjectWithPrototypeNode = com.oracle.truffle.js.nodes.access.CreateObjectNode$CreateObjectWithPrototypeNode of com.oracle.truffle.js.nodes.access.CreateObjectNode