public abstract class com.oracle.truffle.js.nodes.cast.JSToStringNode 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.cast.JSToStringNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
protected static final int MAX_CLASSES;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 3
final boolean undefinedToEmpty;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean symbolToString;
descriptor: Z
flags: (0x0010) ACC_FINAL
private com.oracle.truffle.js.nodes.cast.JSToStringNode toStringNode;
descriptor: Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
protected void <init>(boolean, boolean);
descriptor: (ZZ)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 com.oracle.truffle.js.nodes.JavaScriptBaseNode.<init>:()V
1: aload 0
iload 1
putfield com.oracle.truffle.js.nodes.cast.JSToStringNode.undefinedToEmpty:Z
2: aload 0
iload 2
putfield com.oracle.truffle.js.nodes.cast.JSToStringNode.symbolToString: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/nodes/cast/JSToStringNode;
0 4 1 undefinedToEmpty Z
0 4 2 symbolToString Z
MethodParameters:
Name Flags
undefinedToEmpty
symbolToString
public static com.oracle.truffle.js.nodes.cast.JSToStringNode create();
descriptor: ()Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tJSToStringNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
public static com.oracle.truffle.js.nodes.cast.JSToStringNode createUndefinedToEmpty();
descriptor: ()Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tJSToStringNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
public static com.oracle.truffle.js.nodes.cast.JSToStringNode createSymbolToString();
descriptor: ()Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tJSToStringNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
public abstract java.lang.String executeString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
operand
protected java.lang.String doLazyString(com.oracle.truffle.js.runtime.objects.JSLazyString, com.oracle.truffle.api.profiles.ConditionProfile);
descriptor: (Lcom/oracle/truffle/js/runtime/objects/JSLazyString;Lcom/oracle/truffle/api/profiles/ConditionProfile;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual com.oracle.truffle.js.runtime.objects.JSLazyString.toString:(Lcom/oracle/truffle/api/profiles/ConditionProfile;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
0 1 1 value Lcom/oracle/truffle/js/runtime/objects/JSLazyString;
0 1 2 flattenProfile Lcom/oracle/truffle/api/profiles/ConditionProfile;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
MethodParameters:
Name Flags
value
flattenProfile
protected java.lang.String doString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
0 1 1 value Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected java.lang.String doNull(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc "null"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
0 1 1 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSNull(value)"})
MethodParameters:
Name Flags
value
protected java.lang.String doUndefined(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.nodes.cast.JSToStringNode.undefinedToEmpty:Z
ifeq 1
ldc ""
goto 2
StackMap locals:
StackMap stack:
1: ldc "undefined"
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
0 3 1 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isUndefined(value)"})
MethodParameters:
Name Flags
value
protected java.lang.String doBoolean(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic com.oracle.truffle.js.runtime.JSRuntime.booleanToString:(Z)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
0 1 1 value Z
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected java.lang.String doInteger(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic com.oracle.truffle.js.runtime.Boundaries.stringValueOf:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
0 1 1 value I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected java.lang.String doBigInt(com.oracle.truffle.js.runtime.BigInt);
descriptor: (Lcom/oracle/truffle/js/runtime/BigInt;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.truffle.js.runtime.Boundaries.stringValueOf:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
0 1 1 value Lcom/oracle/truffle/js/runtime/BigInt;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected java.lang.String doLong(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokestatic com.oracle.truffle.js.runtime.Boundaries.stringValueOf:(J)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
0 1 1 value J
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected java.lang.String doDouble(double, com.oracle.truffle.js.nodes.cast.JSDoubleToStringNode);
descriptor: (DLcom/oracle/truffle/js/nodes/cast/JSDoubleToStringNode;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 3
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual com.oracle.truffle.js.nodes.cast.JSDoubleToStringNode.executeString:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
0 1 1 d D
0 1 3 doubleToStringNode Lcom/oracle/truffle/js/nodes/cast/JSDoubleToStringNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "create()")
MethodParameters:
Name Flags
d
doubleToStringNode
protected java.lang.String doJSObject(com.oracle.truffle.api.object.DynamicObject, com.oracle.truffle.js.nodes.cast.JSToPrimitiveNode);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/nodes/cast/JSToPrimitiveNode;)Ljava/lang/String;
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.nodes.cast.JSToStringNode.undefinedToEmpty:Z
ifeq 1
aload 1
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpne 1
ldc ""
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual com.oracle.truffle.js.nodes.cast.JSToStringNode.getToStringNode:()Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
aload 2
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSToPrimitiveNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.cast.JSToStringNode.executeString:(Ljava/lang/Object;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
0 3 1 value Lcom/oracle/truffle/api/object/DynamicObject;
0 3 2 toPrimitiveHintStringNode Lcom/oracle/truffle/js/nodes/cast/JSToPrimitiveNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isJSDynamicObject(value)"}, replaces = {"doUndefined"})
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "createHintString()")
MethodParameters:
Name Flags
value
toPrimitiveHintStringNode
protected java.lang.String doSymbol(com.oracle.truffle.js.runtime.Symbol);
descriptor: (Lcom/oracle/truffle/js/runtime/Symbol;)Ljava/lang/String;
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.nodes.cast.JSToStringNode.symbolToString:Z
ifeq 2
1: aload 1
invokevirtual com.oracle.truffle.js.runtime.Symbol.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
ldc "a Symbol value"
aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createTypeErrorCannotConvertToString:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
0 3 1 value Lcom/oracle/truffle/js/runtime/Symbol;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
value
protected java.lang.String doTruffleObject(java.lang.Object, com.oracle.truffle.js.nodes.cast.JSToPrimitiveNode);
descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/cast/JSToPrimitiveNode;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
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.nodes.cast.JSToStringNode.getToStringNode:()Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
aload 2
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSToPrimitiveNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.oracle.truffle.js.nodes.cast.JSToStringNode.executeString:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
0 1 1 object Ljava/lang/Object;
0 1 2 toPrimitiveNode Lcom/oracle/truffle/js/nodes/cast/JSToPrimitiveNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isForeignObject(object)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "createHintString()")
MethodParameters:
Name Flags
object
toPrimitiveNode
protected com.oracle.truffle.js.nodes.cast.JSToStringNode getToStringNode();
descriptor: ()Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.cast.JSToStringNode.toStringNode:Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
invokestatic com.oracle.truffle.js.nodes.cast.JSToStringNode.create:()Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
invokevirtual com.oracle.truffle.js.nodes.cast.JSToStringNode.insert:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.cast.JSToStringNode
putfield com.oracle.truffle.js.nodes.cast.JSToStringNode.toStringNode:Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.cast.JSToStringNode.toStringNode:Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/cast/JSToStringNode;
}
SourceFile: "JSToStringNode.java"
NestMembers:
com.oracle.truffle.js.nodes.cast.JSToStringNode$JSToStringWrapperNode
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
public abstract JSToStringWrapperNode = com.oracle.truffle.js.nodes.cast.JSToStringNode$JSToStringWrapperNode of com.oracle.truffle.js.nodes.cast.JSToStringNode