public class com.oracle.truffle.js.nodes.function.SetFunctionNameNode extends com.oracle.truffle.js.nodes.JavaScriptBaseNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.nodes.function.SetFunctionNameNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
private final com.oracle.truffle.api.profiles.ConditionProfile isSymbolProfile;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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/nodes/function/SetFunctionNameNode;
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.nodes.function.SetFunctionNameNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.js.nodes.JavaScriptBaseNode.<init>:()V
1: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.nodes.function.SetFunctionNameNode.isSymbolProfile:Lcom/oracle/truffle/api/profiles/ConditionProfile;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/function/SetFunctionNameNode;
public static com.oracle.truffle.js.nodes.function.SetFunctionNameNode create();
descriptor: ()Lcom/oracle/truffle/js/nodes/function/SetFunctionNameNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.oracle.truffle.js.nodes.function.SetFunctionNameNode
dup
invokespecial com.oracle.truffle.js.nodes.function.SetFunctionNameNode.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object execute(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual com.oracle.truffle.js.nodes.function.SetFunctionNameNode.execute:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
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/function/SetFunctionNameNode;
0 1 1 functionValue Ljava/lang/Object;
0 1 2 propertyKey Ljava/lang/Object;
MethodParameters:
Name Flags
functionValue
propertyKey
public java.lang.Object execute(java.lang.Object, java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.oracle.truffle.js.nodes.function.SetFunctionNameNode.$assertionsDisabled:Z
ifne 1
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isJSFunction:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.js.nodes.function.SetFunctionNameNode.$assertionsDisabled:Z
ifne 2
aload 2
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isPropertyKey:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.nodes.function.SetFunctionNameNode.isSymbolProfile:Lcom/oracle/truffle/api/profiles/ConditionProfile;
aload 2
instanceof com.oracle.truffle.js.runtime.Symbol
invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 3
aload 2
checkcast com.oracle.truffle.js.runtime.Symbol
invokevirtual com.oracle.truffle.js.runtime.Symbol.toFunctionNameString:()Ljava/lang/String;
goto 4
StackMap locals:
StackMap stack:
3: aload 2
checkcast java.lang.String
StackMap locals:
StackMap stack: java.lang.String
4: astore 4
start local 4 5: aload 3
ifnull 7
aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 7
6: aload 3
aload 4
invokestatic com.oracle.truffle.js.nodes.function.SetFunctionNameNode.concatenate:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
7: StackMap locals: java.lang.String
StackMap stack:
aload 1
checkcast com.oracle.truffle.api.object.DynamicObject
aload 4
invokestatic com.oracle.truffle.js.nodes.function.SetFunctionNameNode.setFunctionName:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/nodes/function/SetFunctionNameNode;
0 8 1 functionValue Ljava/lang/Object;
0 8 2 propertyKey Ljava/lang/Object;
0 8 3 prefix Ljava/lang/String;
5 8 4 name Ljava/lang/String;
MethodParameters:
Name Flags
functionValue
propertyKey
prefix
private static java.lang.String concatenate(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
iadd
aload 1
invokevirtual java.lang.String.length:()I
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 prefix Ljava/lang/String;
0 1 1 name Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
prefix
name
private static java.lang.Object setFunctionName(com.oracle.truffle.api.object.DynamicObject, java.lang.String);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
iconst_0
iconst_1
invokestatic com.oracle.truffle.js.runtime.objects.PropertyDescriptor.createData:(Ljava/lang/Object;ZZZ)Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
astore 2
start local 2 1: aload 0
ldc "name"
aload 2
invokestatic com.oracle.truffle.js.runtime.JSRuntime.definePropertyOrThrow:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;)V
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 functionValue Lcom/oracle/truffle/api/object/DynamicObject;
0 3 1 name Ljava/lang/String;
1 3 2 propDesc Lcom/oracle/truffle/js/runtime/objects/PropertyDescriptor;
MethodParameters:
Name Flags
functionValue
name
}
SourceFile: "SetFunctionNameNode.java"
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives