public final class com.oracle.truffle.js.nodes.JSNodeUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.nodes.JSNodeUtil
super_class: java.lang.Object
{
static final com.oracle.truffle.js.runtime.util.DebugCounter NODE_CREATE_COUNT;
descriptor: Lcom/oracle/truffle/js/runtime/util/DebugCounter;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final com.oracle.truffle.js.runtime.util.DebugCounter NODE_REPLACE_COUNT;
descriptor: Lcom/oracle/truffle/js/runtime/util/DebugCounter;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final com.oracle.truffle.api.nodes.SlowPathException SLOW_PATH_EXCEPTION;
descriptor: Lcom/oracle/truffle/api/nodes/SlowPathException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, 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=2, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/js/nodes/JSNodeUtil;
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.JSNodeUtil.$assertionsDisabled:Z
3: ldc "NodeCreateCount"
invokestatic com.oracle.truffle.js.runtime.util.DebugCounter.create:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/util/DebugCounter;
putstatic com.oracle.truffle.js.nodes.JSNodeUtil.NODE_CREATE_COUNT:Lcom/oracle/truffle/js/runtime/util/DebugCounter;
4: ldc "NodeReplaceCount"
invokestatic com.oracle.truffle.js.runtime.util.DebugCounter.create:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/util/DebugCounter;
putstatic com.oracle.truffle.js.nodes.JSNodeUtil.NODE_REPLACE_COUNT:Lcom/oracle/truffle/js/runtime/util/DebugCounter;
5: new com.oracle.truffle.api.nodes.SlowPathException
dup
invokespecial com.oracle.truffle.api.nodes.SlowPathException.<init>:()V
putstatic com.oracle.truffle.js.nodes.JSNodeUtil.SLOW_PATH_EXCEPTION:Lcom/oracle/truffle/api/nodes/SlowPathException;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/nodes/JSNodeUtil;
public static com.oracle.truffle.api.nodes.SlowPathException slowPathException();
descriptor: ()Lcom/oracle/truffle/api/nodes/SlowPathException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
1: getstatic com.oracle.truffle.js.nodes.JSNodeUtil.SLOW_PATH_EXCEPTION:Lcom/oracle/truffle/api/nodes/SlowPathException;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.lang.String formatTags(com.oracle.truffle.js.nodes.JavaScriptNode);
descriptor: (Lcom/oracle/truffle/js/nodes/JavaScriptNode;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: new java.lang.StringBuilder
dup
iconst_4
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 2: aload 0
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.hasTag:(Ljava/lang/Class;)Z
ifeq 4
3: aload 1
bipush 83
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$CallTag;
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.hasTag:(Ljava/lang/Class;)Z
ifeq 6
5: aload 1
bipush 67
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 0
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$RootTag;
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.hasTag:(Ljava/lang/Class;)Z
ifeq 8
7: aload 1
bipush 82
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 0
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$RootBodyTag;
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.hasTag:(Ljava/lang/Class;)Z
ifeq 10
9: aload 1
bipush 66
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
aload 0
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$ExpressionTag;
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.hasTag:(Ljava/lang/Class;)Z
ifeq 12
11: aload 1
bipush 69
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 node Lcom/oracle/truffle/js/nodes/JavaScriptNode;
2 13 1 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
node
public static java.lang.String resolveName(com.oracle.truffle.api.nodes.RootNode);
descriptor: (Lcom/oracle/truffle/api/nodes/RootNode;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.oracle.truffle.js.nodes.function.FunctionRootNode
ifeq 2
1: aload 0
checkcast com.oracle.truffle.js.nodes.function.FunctionRootNode
invokevirtual com.oracle.truffle.js.nodes.function.FunctionRootNode.getName:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
ldc "unknown"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 root Lcom/oracle/truffle/api/nodes/RootNode;
MethodParameters:
Name Flags
root
public static java.lang.String formatSourceSection(com.oracle.truffle.api.nodes.Node);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: aload 0
ifnonnull 3
2: ldc "<unknown>"
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.api.nodes.Node.getSourceSection:()Lcom/oracle/truffle/api/source/SourceSection;
astore 1
start local 1 4: iconst_0
istore 2
start local 2 5: aload 1
ifnonnull 8
6: aload 0
invokevirtual com.oracle.truffle.api.nodes.Node.getEncapsulatingSourceSection:()Lcom/oracle/truffle/api/source/SourceSection;
astore 1
7: iconst_1
istore 2
8: StackMap locals: com.oracle.truffle.api.source.SourceSection int
StackMap stack:
aload 1
ifnull 9
aload 1
invokevirtual com.oracle.truffle.api.source.SourceSection.isAvailable:()Z
ifne 10
9: StackMap locals:
StackMap stack:
ldc "<unknown source>"
areturn
10: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.oracle.truffle.api.source.SourceSection.getSource:()Lcom/oracle/truffle/api/source/Source;
invokevirtual com.oracle.truffle.api.source.Source.getName:()Ljava/lang/String;
astore 3
start local 3 11: aload 1
invokevirtual com.oracle.truffle.api.source.SourceSection.getStartLine:()I
istore 4
start local 4 12: ldc "%s:%d%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
dup
iconst_1
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iload 2
ifeq 13
ldc "~"
goto 14
StackMap locals: com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.source.SourceSection int java.lang.String int
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int
13: ldc ""
StackMap locals: com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.source.SourceSection int java.lang.String int
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
14: aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 node Lcom/oracle/truffle/api/nodes/Node;
4 15 1 section Lcom/oracle/truffle/api/source/SourceSection;
5 15 2 estimated Z
11 15 3 sourceName Ljava/lang/String;
12 15 4 startLine I
MethodParameters:
Name Flags
node
public static boolean hasExactlyOneRootBodyTag(com.oracle.truffle.js.nodes.JavaScriptNode);
descriptor: (Lcom/oracle/truffle/js/nodes/JavaScriptNode;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: aload 0
invokedynamic isCounted()Lcom/oracle/truffle/api/nodes/NodeUtil$NodeCountFilter;
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:
(Lcom/oracle/truffle/api/nodes/Node;)Z
com/oracle/truffle/js/nodes/JSNodeUtil.lambda$0(Lcom/oracle/truffle/api/nodes/Node;)Z (6)
(Lcom/oracle/truffle/api/nodes/Node;)Z
invokestatic com.oracle.truffle.api.nodes.NodeUtil.countNodes:(Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/nodes/NodeUtil$NodeCountFilter;)I
iconst_1
if_icmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 body Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
body
public static boolean isWrapperNode(com.oracle.truffle.js.nodes.JavaScriptNode);
descriptor: (Lcom/oracle/truffle/js/nodes/JavaScriptNode;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode
ifne 6
1: aload 0
instanceof com.oracle.truffle.js.nodes.access.GlobalScopeVarWrapperNode
ifne 6
2: aload 0
instanceof com.oracle.truffle.js.nodes.instrumentation.JSInputGeneratingNodeWrapper
ifne 6
3: aload 0
instanceof com.oracle.truffle.js.nodes.instrumentation.JSTaggedExecutionNode
ifne 6
4: aload 0
instanceof com.oracle.truffle.js.nodes.access.JSTargetableWrapperNode
ifne 6
5: iconst_0
ireturn
StackMap locals:
StackMap stack:
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 node Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
node
public static com.oracle.truffle.js.nodes.JavaScriptNode getWrappedNode(com.oracle.truffle.js.nodes.JavaScriptNode);
descriptor: (Lcom/oracle/truffle/js/nodes/JavaScriptNode;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: aload 0
instanceof com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode
ifeq 4
2: aload 0
checkcast com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode
astore 2
start local 2 3: aload 2
invokeinterface com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode.getDelegateNode:()Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.JavaScriptNode
astore 1
end local 2 4: StackMap locals: com.oracle.truffle.js.nodes.JavaScriptNode
StackMap stack:
aload 1
instanceof com.oracle.truffle.js.nodes.instrumentation.JSInputGeneratingNodeWrapper
ifeq 6
5: aload 1
checkcast com.oracle.truffle.js.nodes.instrumentation.JSInputGeneratingNodeWrapper
invokevirtual com.oracle.truffle.js.nodes.instrumentation.JSInputGeneratingNodeWrapper.getDelegateNode:()Lcom/oracle/truffle/js/nodes/JavaScriptNode;
astore 1
6: StackMap locals:
StackMap stack:
aload 1
instanceof com.oracle.truffle.js.nodes.instrumentation.JSTaggedExecutionNode
ifeq 8
7: aload 1
checkcast com.oracle.truffle.js.nodes.instrumentation.JSTaggedExecutionNode
invokevirtual com.oracle.truffle.js.nodes.instrumentation.JSTaggedExecutionNode.getDelegateNode:()Lcom/oracle/truffle/js/nodes/JavaScriptNode;
astore 1
8: StackMap locals:
StackMap stack:
aload 1
instanceof com.oracle.truffle.js.nodes.access.GlobalScopeVarWrapperNode
ifeq 10
9: aload 1
checkcast com.oracle.truffle.js.nodes.access.GlobalScopeVarWrapperNode
invokevirtual com.oracle.truffle.js.nodes.access.GlobalScopeVarWrapperNode.getDelegateNode:()Lcom/oracle/truffle/js/nodes/JavaScriptNode;
astore 1
10: StackMap locals:
StackMap stack:
aload 1
instanceof com.oracle.truffle.js.nodes.access.JSTargetableWrapperNode
ifeq 12
11: aload 1
checkcast com.oracle.truffle.js.nodes.access.JSTargetableWrapperNode
invokevirtual com.oracle.truffle.js.nodes.access.JSTargetableWrapperNode.getDelegate:()Lcom/oracle/truffle/js/nodes/JavaScriptNode;
astore 1
12: StackMap locals:
StackMap stack:
aload 1
instanceof com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode
ifeq 15
13: aload 1
checkcast com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode
astore 2
start local 2 14: aload 2
invokeinterface com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode.getDelegateNode:()Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.js.nodes.JavaScriptNode
astore 1
end local 2 15: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.js.nodes.JSNodeUtil.$assertionsDisabled:Z
ifne 16
aload 1
invokestatic com.oracle.truffle.js.nodes.JSNodeUtil.isWrapperNode:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;)Z
ifeq 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 node Lcom/oracle/truffle/js/nodes/JavaScriptNode;
1 17 1 unwrapped Lcom/oracle/truffle/js/nodes/JavaScriptNode;
3 4 2 wrapper Lcom/oracle/truffle/api/instrumentation/InstrumentableNode$WrapperNode;
14 15 2 wrapper Lcom/oracle/truffle/api/instrumentation/InstrumentableNode$WrapperNode;
MethodParameters:
Name Flags
node
public static boolean isTaggedNode(com.oracle.truffle.api.nodes.Node);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.oracle.truffle.js.nodes.instrumentation.JSTaggedExecutionNode
ifne 2
aload 0
instanceof com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode
ifeq 1
aload 0
checkcast com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode
invokeinterface com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode.getDelegateNode:()Lcom/oracle/truffle/api/nodes/Node;
instanceof com.oracle.truffle.js.nodes.instrumentation.JSTaggedExecutionNode
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 node Lcom/oracle/truffle/api/nodes/Node;
MethodParameters:
Name Flags
node
public static boolean isInputGeneratingNode(com.oracle.truffle.api.nodes.Node);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.oracle.truffle.js.nodes.instrumentation.JSInputGeneratingNodeWrapper
ifne 2
aload 0
instanceof com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode
ifeq 1
aload 0
checkcast com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode
invokeinterface com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode.getDelegateNode:()Lcom/oracle/truffle/api/nodes/Node;
instanceof com.oracle.truffle.js.nodes.instrumentation.JSInputGeneratingNodeWrapper
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 node Lcom/oracle/truffle/api/nodes/Node;
MethodParameters:
Name Flags
node
private static boolean lambda$0(com.oracle.truffle.api.nodes.Node);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.oracle.truffle.js.nodes.control.GeneratorWrapperNode
ifne 1
aload 0
instanceof com.oracle.truffle.js.nodes.JavaScriptNode
ifeq 1
aload 0
checkcast com.oracle.truffle.js.nodes.JavaScriptNode
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$RootBodyTag;
invokevirtual com.oracle.truffle.js.nodes.JavaScriptNode.hasTag:(Ljava/lang/Class;)Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 node Lcom/oracle/truffle/api/nodes/Node;
}
SourceFile: "JSNodeUtil.java"
InnerClasses:
public abstract WrapperNode = com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode of com.oracle.truffle.api.instrumentation.InstrumentableNode
public final CallTag = com.oracle.truffle.api.instrumentation.StandardTags$CallTag of com.oracle.truffle.api.instrumentation.StandardTags
public final ExpressionTag = com.oracle.truffle.api.instrumentation.StandardTags$ExpressionTag of com.oracle.truffle.api.instrumentation.StandardTags
public final RootBodyTag = com.oracle.truffle.api.instrumentation.StandardTags$RootBodyTag of com.oracle.truffle.api.instrumentation.StandardTags
public final RootTag = com.oracle.truffle.api.instrumentation.StandardTags$RootTag of com.oracle.truffle.api.instrumentation.StandardTags
public final StatementTag = com.oracle.truffle.api.instrumentation.StandardTags$StatementTag of com.oracle.truffle.api.instrumentation.StandardTags
public abstract NodeCountFilter = com.oracle.truffle.api.nodes.NodeUtil$NodeCountFilter of com.oracle.truffle.api.nodes.NodeUtil
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles