abstract class jdk.nashorn.internal.codegen.ReplaceCompileUnits extends jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: jdk.nashorn.internal.codegen.ReplaceCompileUnits
super_class: jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor
{
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 Ljdk/nashorn/internal/codegen/ReplaceCompileUnits;
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 jdk.nashorn.internal.codegen.ReplaceCompileUnits.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/ReplaceCompileUnits;
abstract jdk.nashorn.internal.codegen.CompileUnit getReplacement(jdk.nashorn.internal.codegen.CompileUnit);
descriptor: (Ljdk/nashorn/internal/codegen/CompileUnit;)Ljdk/nashorn/internal/codegen/CompileUnit;
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
oldUnit final
jdk.nashorn.internal.codegen.CompileUnit getExistingReplacement(jdk.nashorn.internal.ir.CompileUnitHolder);
descriptor: (Ljdk/nashorn/internal/ir/CompileUnitHolder;)Ljdk/nashorn/internal/codegen/CompileUnit;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface jdk.nashorn.internal.ir.CompileUnitHolder.getCompileUnit:()Ljdk/nashorn/internal/codegen/CompileUnit;
astore 2
start local 2 1: getstatic jdk.nashorn.internal.codegen.ReplaceCompileUnits.$assertionsDisabled:Z
ifne 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: jdk.nashorn.internal.codegen.CompileUnit
StackMap stack:
aload 0
aload 2
invokevirtual jdk.nashorn.internal.codegen.ReplaceCompileUnits.getReplacement:(Ljdk/nashorn/internal/codegen/CompileUnit;)Ljdk/nashorn/internal/codegen/CompileUnit;
astore 3
start local 3 3: getstatic jdk.nashorn.internal.codegen.ReplaceCompileUnits.$assertionsDisabled:Z
ifne 4
aload 3
ifnonnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: jdk.nashorn.internal.codegen.CompileUnit
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/codegen/ReplaceCompileUnits;
0 5 1 node Ljdk/nashorn/internal/ir/CompileUnitHolder;
1 5 2 oldUnit Ljdk/nashorn/internal/codegen/CompileUnit;
3 5 3 newUnit Ljdk/nashorn/internal/codegen/CompileUnit;
MethodParameters:
Name Flags
node final
public jdk.nashorn.internal.ir.Node leaveFunctionNode(jdk.nashorn.internal.ir.FunctionNode);
descriptor: (Ljdk/nashorn/internal/ir/FunctionNode;)Ljdk/nashorn/internal/ir/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield jdk.nashorn.internal.codegen.ReplaceCompileUnits.lc:Ljdk/nashorn/internal/ir/LexicalContext;
aload 0
aload 1
invokevirtual jdk.nashorn.internal.codegen.ReplaceCompileUnits.getExistingReplacement:(Ljdk/nashorn/internal/ir/CompileUnitHolder;)Ljdk/nashorn/internal/codegen/CompileUnit;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.setCompileUnit:(Ljdk/nashorn/internal/ir/LexicalContext;Ljdk/nashorn/internal/codegen/CompileUnit;)Ljdk/nashorn/internal/ir/FunctionNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/ReplaceCompileUnits;
0 1 1 node Ljdk/nashorn/internal/ir/FunctionNode;
MethodParameters:
Name Flags
node final
public jdk.nashorn.internal.ir.Node leaveLiteralNode(jdk.nashorn.internal.ir.LiteralNode<?>);
descriptor: (Ljdk/nashorn/internal/ir/LiteralNode;)Ljdk/nashorn/internal/ir/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode
ifeq 10
1: aload 1
checkcast jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode
astore 2
start local 2 2: aload 2
invokevirtual jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode.getSplitRanges:()Ljava/util/List;
ifnonnull 4
3: aload 1
areturn
4: StackMap locals: jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 5: aload 2
invokevirtual jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode.getSplitRanges:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: jdk.nashorn.internal.codegen.ReplaceCompileUnits jdk.nashorn.internal.ir.LiteralNode jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode java.util.List top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.Splittable$SplitRange
astore 4
start local 4 7: aload 3
new jdk.nashorn.internal.ir.Splittable$SplitRange
dup
aload 0
aload 4
invokevirtual jdk.nashorn.internal.codegen.ReplaceCompileUnits.getExistingReplacement:(Ljdk/nashorn/internal/ir/CompileUnitHolder;)Ljdk/nashorn/internal/codegen/CompileUnit;
aload 4
invokevirtual jdk.nashorn.internal.ir.Splittable$SplitRange.getLow:()I
aload 4
invokevirtual jdk.nashorn.internal.ir.Splittable$SplitRange.getHigh:()I
invokespecial jdk.nashorn.internal.ir.Splittable$SplitRange.<init>:(Ljdk/nashorn/internal/codegen/CompileUnit;II)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 2
aload 0
getfield jdk.nashorn.internal.codegen.ReplaceCompileUnits.lc:Ljdk/nashorn/internal/ir/LexicalContext;
aload 3
invokevirtual jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode.setSplitRanges:(Ljdk/nashorn/internal/ir/LexicalContext;Ljava/util/List;)Ljdk/nashorn/internal/ir/LiteralNode$ArrayLiteralNode;
areturn
end local 3 end local 2 10: StackMap locals: jdk.nashorn.internal.codegen.ReplaceCompileUnits jdk.nashorn.internal.ir.LiteralNode
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/nashorn/internal/codegen/ReplaceCompileUnits;
0 11 1 node Ljdk/nashorn/internal/ir/LiteralNode<*>;
2 10 2 aln Ljdk/nashorn/internal/ir/LiteralNode$ArrayLiteralNode;
5 10 3 newArrayUnits Ljava/util/List<Ljdk/nashorn/internal/ir/Splittable$SplitRange;>;
7 8 4 au Ljdk/nashorn/internal/ir/Splittable$SplitRange;
Signature: (Ljdk/nashorn/internal/ir/LiteralNode<*>;)Ljdk/nashorn/internal/ir/Node;
MethodParameters:
Name Flags
node final
public jdk.nashorn.internal.ir.Node leaveObjectNode(jdk.nashorn.internal.ir.ObjectNode);
descriptor: (Ljdk/nashorn/internal/ir/ObjectNode;)Ljdk/nashorn/internal/ir/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.nashorn.internal.ir.ObjectNode.getSplitRanges:()Ljava/util/List;
astore 2
start local 2 1: aload 2
ifnull 8
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: jdk.nashorn.internal.codegen.ReplaceCompileUnits jdk.nashorn.internal.ir.ObjectNode java.util.List java.util.List top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.Splittable$SplitRange
astore 4
start local 4 5: aload 3
new jdk.nashorn.internal.ir.Splittable$SplitRange
dup
aload 0
aload 4
invokevirtual jdk.nashorn.internal.codegen.ReplaceCompileUnits.getExistingReplacement:(Ljdk/nashorn/internal/ir/CompileUnitHolder;)Ljdk/nashorn/internal/codegen/CompileUnit;
aload 4
invokevirtual jdk.nashorn.internal.ir.Splittable$SplitRange.getLow:()I
aload 4
invokevirtual jdk.nashorn.internal.ir.Splittable$SplitRange.getHigh:()I
invokespecial jdk.nashorn.internal.ir.Splittable$SplitRange.<init>:(Ljdk/nashorn/internal/codegen/CompileUnit;II)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
aload 0
getfield jdk.nashorn.internal.codegen.ReplaceCompileUnits.lc:Ljdk/nashorn/internal/ir/LexicalContext;
aload 3
invokevirtual jdk.nashorn.internal.ir.ObjectNode.setSplitRanges:(Ljdk/nashorn/internal/ir/LexicalContext;Ljava/util/List;)Ljdk/nashorn/internal/ir/ObjectNode;
areturn
end local 3 8: StackMap locals: jdk.nashorn.internal.codegen.ReplaceCompileUnits jdk.nashorn.internal.ir.ObjectNode java.util.List
StackMap stack:
aload 0
aload 1
invokespecial jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor.leaveObjectNode:(Ljdk/nashorn/internal/ir/ObjectNode;)Ljdk/nashorn/internal/ir/Node;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/nashorn/internal/codegen/ReplaceCompileUnits;
0 9 1 objectNode Ljdk/nashorn/internal/ir/ObjectNode;
1 9 2 ranges Ljava/util/List<Ljdk/nashorn/internal/ir/Splittable$SplitRange;>;
3 8 3 newRanges Ljava/util/List<Ljdk/nashorn/internal/ir/Splittable$SplitRange;>;
5 6 4 range Ljdk/nashorn/internal/ir/Splittable$SplitRange;
MethodParameters:
Name Flags
objectNode final
}
SourceFile: "ReplaceCompileUnits.java"
InnerClasses:
public final ArrayLiteralNode = jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode of jdk.nashorn.internal.ir.LiteralNode
public final SplitRange = jdk.nashorn.internal.ir.Splittable$SplitRange of jdk.nashorn.internal.ir.Splittable