final class jdk.nashorn.internal.codegen.Splitter extends jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor implements jdk.nashorn.internal.runtime.logging.Loggable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.codegen.Splitter
super_class: jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor
{
private final jdk.nashorn.internal.codegen.Compiler compiler;
descriptor: Ljdk/nashorn/internal/codegen/Compiler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.ir.FunctionNode outermost;
descriptor: Ljdk/nashorn/internal/ir/FunctionNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.codegen.CompileUnit outermostCompileUnit;
descriptor: Ljdk/nashorn/internal/codegen/CompileUnit;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<jdk.nashorn.internal.ir.Node, java.lang.Long> weightCache;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljdk/nashorn/internal/ir/Node;Ljava/lang/Long;>;
public static final long SPLIT_THRESHOLD;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final jdk.nashorn.internal.runtime.logging.DebugLogger log;
descriptor: Ljdk/nashorn/internal/runtime/logging/DebugLogger;
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=2, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/codegen/Splitter;
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.Splitter.$assertionsDisabled:Z
3: ldc "nashorn.compiler.splitter.threshold"
ldc 32768
invokestatic jdk.nashorn.internal.runtime.options.Options.getIntProperty:(Ljava/lang/String;I)I
i2l
putstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.nashorn.internal.codegen.Compiler, jdk.nashorn.internal.ir.FunctionNode, jdk.nashorn.internal.codegen.CompileUnit);
descriptor: (Ljdk/nashorn/internal/codegen/Compiler;Ljdk/nashorn/internal/ir/FunctionNode;Ljdk/nashorn/internal/codegen/CompileUnit;)V
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
invokespecial jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.nashorn.internal.codegen.Splitter.weightCache:Ljava/util/Map;
2: aload 0
aload 1
putfield jdk.nashorn.internal.codegen.Splitter.compiler:Ljdk/nashorn/internal/codegen/Compiler;
3: aload 0
aload 2
putfield jdk.nashorn.internal.codegen.Splitter.outermost:Ljdk/nashorn/internal/ir/FunctionNode;
4: aload 0
aload 3
putfield jdk.nashorn.internal.codegen.Splitter.outermostCompileUnit:Ljdk/nashorn/internal/codegen/CompileUnit;
5: aload 0
aload 0
aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.getContext:()Ljdk/nashorn/internal/runtime/Context;
invokevirtual jdk.nashorn.internal.codegen.Splitter.initLogger:(Ljdk/nashorn/internal/runtime/Context;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
putfield jdk.nashorn.internal.codegen.Splitter.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/codegen/Splitter;
0 7 1 compiler Ljdk/nashorn/internal/codegen/Compiler;
0 7 2 functionNode Ljdk/nashorn/internal/ir/FunctionNode;
0 7 3 outermostCompileUnit Ljdk/nashorn/internal/codegen/CompileUnit;
MethodParameters:
Name Flags
compiler final
functionNode final
outermostCompileUnit final
public jdk.nashorn.internal.runtime.logging.DebugLogger initLogger(jdk.nashorn.internal.runtime.Context);
descriptor: (Ljdk/nashorn/internal/runtime/Context;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual jdk.nashorn.internal.runtime.Context.getLogger:(Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Splitter;
0 1 1 context Ljdk/nashorn/internal/runtime/Context;
MethodParameters:
Name Flags
context final
public jdk.nashorn.internal.runtime.logging.DebugLogger getLogger();
descriptor: ()Ljdk/nashorn/internal/runtime/logging/DebugLogger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Splitter;
jdk.nashorn.internal.ir.FunctionNode split(jdk.nashorn.internal.ir.FunctionNode, boolean);
descriptor: (Ljdk/nashorn/internal/ir/FunctionNode;Z)Ljdk/nashorn/internal/ir/FunctionNode;
flags: (0x0000)
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
astore 3
start local 3 1: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
iconst_3
anewarray java.lang.Object
dup
iconst_0
ldc "Initiating split of '"
aastore
dup
iconst_1
aload 3
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getName:()Ljava/lang/String;
aastore
dup
iconst_2
ldc "'"
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:([Ljava/lang/Object;)V
2: aload 3
invokestatic jdk.nashorn.internal.codegen.WeighNodes.weigh:(Ljdk/nashorn/internal/ir/Node;)J
lstore 4
start local 4 3: getstatic jdk.nashorn.internal.codegen.Splitter.$assertionsDisabled:Z
ifne 4
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.lc:Ljdk/nashorn/internal/ir/LexicalContext;
invokevirtual jdk.nashorn.internal.ir.LexicalContext.isEmpty:()Z
ifne 4
new java.lang.AssertionError
dup
ldc "LexicalContext not empty"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals: jdk.nashorn.internal.ir.FunctionNode long
StackMap stack:
lload 4
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
lcmp
iflt 14
5: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "Splitting function '"
aastore
dup
iconst_1
aload 3
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getName:()Ljava/lang/String;
aastore
dup
iconst_2
ldc "' as its weight "
aastore
dup
iconst_3
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_4
ldc " exceeds split threshold "
aastore
dup
iconst_5
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:([Ljava/lang/Object;)V
6: aload 3
aload 0
invokevirtual jdk.nashorn.internal.ir.FunctionNode.accept:(Ljdk/nashorn/internal/ir/visitor/NodeVisitor;)Ljdk/nashorn/internal/ir/Node;
checkcast jdk.nashorn.internal.ir.FunctionNode
astore 3
7: aload 3
invokevirtual jdk.nashorn.internal.ir.FunctionNode.isSplit:()Z
ifeq 10
8: aload 3
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.weightCache:Ljava/util/Map;
invokestatic jdk.nashorn.internal.codegen.WeighNodes.weigh:(Ljdk/nashorn/internal/ir/Node;Ljava/util/Map;)J
lstore 4
9: aload 3
aconst_null
aload 3
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getBody:()Ljdk/nashorn/internal/ir/Block;
aconst_null
invokevirtual jdk.nashorn.internal.ir.Block.setNeedsScope:(Ljdk/nashorn/internal/ir/LexicalContext;)Ljdk/nashorn/internal/ir/Block;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.setBody:(Ljdk/nashorn/internal/ir/LexicalContext;Ljdk/nashorn/internal/ir/Block;)Ljdk/nashorn/internal/ir/FunctionNode;
astore 3
10: StackMap locals:
StackMap stack:
lload 4
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
lcmp
iflt 14
11: aload 3
aconst_null
aload 0
aload 3
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getBody:()Ljdk/nashorn/internal/ir/Block;
aload 3
invokevirtual jdk.nashorn.internal.codegen.Splitter.splitBlock:(Ljdk/nashorn/internal/ir/Block;Ljdk/nashorn/internal/ir/FunctionNode;)Ljdk/nashorn/internal/ir/Block;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.setBody:(Ljdk/nashorn/internal/ir/LexicalContext;Ljdk/nashorn/internal/ir/Block;)Ljdk/nashorn/internal/ir/FunctionNode;
astore 3
12: aload 3
aconst_null
bipush 16
invokevirtual jdk.nashorn.internal.ir.FunctionNode.setFlag:(Ljdk/nashorn/internal/ir/LexicalContext;I)Ljdk/nashorn/internal/ir/FunctionNode;
astore 3
13: aload 3
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getBody:()Ljdk/nashorn/internal/ir/Block;
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.weightCache:Ljava/util/Map;
invokestatic jdk.nashorn.internal.codegen.WeighNodes.weigh:(Ljdk/nashorn/internal/ir/Node;Ljava/util/Map;)J
lstore 4
14: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.codegen.Splitter.$assertionsDisabled:Z
ifne 15
aload 3
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getCompileUnit:()Ljdk/nashorn/internal/codegen/CompileUnit;
ifnull 15
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "compile unit already set for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
15: StackMap locals:
StackMap stack:
iload 2
ifeq 20
16: getstatic jdk.nashorn.internal.codegen.Splitter.$assertionsDisabled:Z
ifne 17
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.outermostCompileUnit:Ljdk/nashorn/internal/codegen/CompileUnit;
ifnonnull 17
new java.lang.AssertionError
dup
ldc "outermost compile unit is null"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
17: StackMap locals:
StackMap stack:
aload 3
aconst_null
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.outermostCompileUnit: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;
astore 3
18: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.outermostCompileUnit:Ljdk/nashorn/internal/codegen/CompileUnit;
lload 4
ldc 40
ladd
invokevirtual jdk.nashorn.internal.codegen.CompileUnit.addWeight:(J)V
19: goto 21
20: StackMap locals:
StackMap stack:
aload 3
aconst_null
aload 0
lload 4
invokevirtual jdk.nashorn.internal.codegen.Splitter.findUnit:(J)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;
astore 3
21: StackMap locals:
StackMap stack:
aload 3
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getBody:()Ljdk/nashorn/internal/ir/Block;
astore 6
start local 6 22: aload 3
invokestatic jdk.nashorn.internal.codegen.Splitter.directChildren:(Ljdk/nashorn/internal/ir/FunctionNode;)Ljava/util/List;
astore 7
start local 7 23: aload 6
new jdk.nashorn.internal.codegen.Splitter$1
dup
aload 0
aload 7
invokespecial jdk.nashorn.internal.codegen.Splitter$1.<init>:(Ljdk/nashorn/internal/codegen/Splitter;Ljava/util/List;)V
invokevirtual jdk.nashorn.internal.ir.Block.accept:(Ljdk/nashorn/internal/ir/visitor/NodeVisitor;)Ljdk/nashorn/internal/ir/Node;
checkcast jdk.nashorn.internal.ir.Block
astore 8
start local 8 24: aload 3
aconst_null
aload 8
invokevirtual jdk.nashorn.internal.ir.FunctionNode.setBody:(Ljdk/nashorn/internal/ir/LexicalContext;Ljdk/nashorn/internal/ir/Block;)Ljdk/nashorn/internal/ir/FunctionNode;
astore 3
25: getstatic jdk.nashorn.internal.codegen.Splitter.$assertionsDisabled:Z
ifne 26
aload 3
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getCompileUnit:()Ljdk/nashorn/internal/codegen/CompileUnit;
ifnonnull 26
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
26: StackMap locals: jdk.nashorn.internal.ir.Block java.util.List jdk.nashorn.internal.ir.Block
StackMap stack:
aload 3
areturn
end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljdk/nashorn/internal/codegen/Splitter;
0 27 1 fn Ljdk/nashorn/internal/ir/FunctionNode;
0 27 2 top Z
1 27 3 functionNode Ljdk/nashorn/internal/ir/FunctionNode;
3 27 4 weight J
22 27 6 body Ljdk/nashorn/internal/ir/Block;
23 27 7 dc Ljava/util/List<Ljdk/nashorn/internal/ir/FunctionNode;>;
24 27 8 newBody Ljdk/nashorn/internal/ir/Block;
MethodParameters:
Name Flags
fn final
top final
private static java.util.List<jdk.nashorn.internal.ir.FunctionNode> directChildren(jdk.nashorn.internal.ir.FunctionNode);
descriptor: (Ljdk/nashorn/internal/ir/FunctionNode;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
new jdk.nashorn.internal.codegen.Splitter$2
dup
aload 0
aload 1
invokespecial jdk.nashorn.internal.codegen.Splitter$2.<init>:(Ljdk/nashorn/internal/ir/FunctionNode;Ljava/util/List;)V
invokevirtual jdk.nashorn.internal.ir.FunctionNode.accept:(Ljdk/nashorn/internal/ir/visitor/NodeVisitor;)Ljdk/nashorn/internal/ir/Node;
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 functionNode Ljdk/nashorn/internal/ir/FunctionNode;
1 3 1 dc Ljava/util/List<Ljdk/nashorn/internal/ir/FunctionNode;>;
Signature: (Ljdk/nashorn/internal/ir/FunctionNode;)Ljava/util/List<Ljdk/nashorn/internal/ir/FunctionNode;>;
MethodParameters:
Name Flags
functionNode final
protected jdk.nashorn.internal.codegen.CompileUnit findUnit(long);
descriptor: (J)Ljdk/nashorn/internal/codegen/CompileUnit;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.compiler:Ljdk/nashorn/internal/codegen/Compiler;
lload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.findUnit:(J)Ljdk/nashorn/internal/codegen/CompileUnit;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Splitter;
0 1 1 weight J
MethodParameters:
Name Flags
weight final
private jdk.nashorn.internal.ir.Block splitBlock(jdk.nashorn.internal.ir.Block, jdk.nashorn.internal.ir.FunctionNode);
descriptor: (Ljdk/nashorn/internal/ir/Block;Ljdk/nashorn/internal/ir/FunctionNode;)Ljdk/nashorn/internal/ir/Block;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=12, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 2: lconst_0
lstore 5
start local 5 3: aload 1
invokevirtual jdk.nashorn.internal.ir.Block.getStatements:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 17
StackMap locals: jdk.nashorn.internal.codegen.Splitter jdk.nashorn.internal.ir.Block jdk.nashorn.internal.ir.FunctionNode java.util.List java.util.List long top java.util.Iterator
StackMap stack:
4: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.Statement
astore 7
start local 7 5: aload 7
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.weightCache:Ljava/util/Map;
invokestatic jdk.nashorn.internal.codegen.WeighNodes.weigh:(Ljdk/nashorn/internal/ir/Node;Ljava/util/Map;)J
lstore 9
start local 9 6: aload 0
aload 7
invokevirtual jdk.nashorn.internal.codegen.Splitter.isBlockScopedVarNode:(Ljdk/nashorn/internal/ir/Statement;)Z
istore 11
start local 11 7: lload 5
lload 9
ladd
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
lcmp
ifge 8
aload 7
invokevirtual jdk.nashorn.internal.ir.Statement.isTerminal:()Z
ifne 8
iload 11
ifeq 12
8: StackMap locals: jdk.nashorn.internal.codegen.Splitter jdk.nashorn.internal.ir.Block jdk.nashorn.internal.ir.FunctionNode java.util.List java.util.List long jdk.nashorn.internal.ir.Statement java.util.Iterator long int
StackMap stack:
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 12
9: aload 3
aload 0
aload 1
aload 2
aload 4
lload 5
invokevirtual jdk.nashorn.internal.codegen.Splitter.createBlockSplitNode:(Ljdk/nashorn/internal/ir/Block;Ljdk/nashorn/internal/ir/FunctionNode;Ljava/util/List;J)Ljdk/nashorn/internal/ir/SplitNode;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
11: lconst_0
lstore 5
12: StackMap locals:
StackMap stack:
aload 7
invokevirtual jdk.nashorn.internal.ir.Statement.isTerminal:()Z
ifne 13
iload 11
ifeq 15
13: StackMap locals:
StackMap stack:
aload 3
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: goto 17
15: StackMap locals:
StackMap stack:
aload 4
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: lload 5
lload 9
ladd
lstore 5
end local 11 end local 9 end local 7 17: StackMap locals: jdk.nashorn.internal.codegen.Splitter jdk.nashorn.internal.ir.Block jdk.nashorn.internal.ir.FunctionNode java.util.List java.util.List long top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
18: aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 20
19: aload 3
aload 0
aload 1
aload 2
aload 4
lload 5
invokevirtual jdk.nashorn.internal.codegen.Splitter.createBlockSplitNode:(Ljdk/nashorn/internal/ir/Block;Ljdk/nashorn/internal/ir/FunctionNode;Ljava/util/List;J)Ljdk/nashorn/internal/ir/SplitNode;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: StackMap locals: jdk.nashorn.internal.codegen.Splitter jdk.nashorn.internal.ir.Block jdk.nashorn.internal.ir.FunctionNode java.util.List java.util.List long
StackMap stack:
aload 1
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.lc:Ljdk/nashorn/internal/ir/LexicalContext;
aload 3
invokevirtual jdk.nashorn.internal.ir.Block.setStatements:(Ljdk/nashorn/internal/ir/LexicalContext;Ljava/util/List;)Ljdk/nashorn/internal/ir/Block;
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 21 0 this Ljdk/nashorn/internal/codegen/Splitter;
0 21 1 block Ljdk/nashorn/internal/ir/Block;
0 21 2 function Ljdk/nashorn/internal/ir/FunctionNode;
1 21 3 splits Ljava/util/List<Ljdk/nashorn/internal/ir/Statement;>;
2 21 4 statements Ljava/util/List<Ljdk/nashorn/internal/ir/Statement;>;
3 21 5 statementsWeight J
5 17 7 statement Ljdk/nashorn/internal/ir/Statement;
6 17 9 weight J
7 17 11 isBlockScopedVarNode Z
MethodParameters:
Name Flags
block final
function final
private jdk.nashorn.internal.ir.SplitNode createBlockSplitNode(jdk.nashorn.internal.ir.Block, jdk.nashorn.internal.ir.FunctionNode, java.util.List<jdk.nashorn.internal.ir.Statement>, long);
descriptor: (Ljdk/nashorn/internal/ir/Block;Ljdk/nashorn/internal/ir/FunctionNode;Ljava/util/List;J)Ljdk/nashorn/internal/ir/SplitNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokevirtual jdk.nashorn.internal.ir.Block.getToken:()J
lstore 6
start local 6 1: aload 1
invokevirtual jdk.nashorn.internal.ir.Block.getFinish:()I
istore 8
start local 8 2: aload 2
getstatic jdk.nashorn.internal.codegen.CompilerConstants.SPLIT_PREFIX:Ljdk/nashorn/internal/codegen/CompilerConstants;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants.symbolName:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.uniqueName:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 3: new jdk.nashorn.internal.ir.Block
dup
lload 6
iload 8
aload 3
invokespecial jdk.nashorn.internal.ir.Block.<init>:(JILjava/util/List;)V
astore 10
start local 10 4: new jdk.nashorn.internal.ir.SplitNode
dup
aload 9
aload 10
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.compiler:Ljdk/nashorn/internal/codegen/Compiler;
lload 4
ldc 40
ladd
invokevirtual jdk.nashorn.internal.codegen.Compiler.findUnit:(J)Ljdk/nashorn/internal/codegen/CompileUnit;
invokespecial jdk.nashorn.internal.ir.SplitNode.<init>:(Ljava/lang/String;Ljdk/nashorn/internal/ir/Block;Ljdk/nashorn/internal/codegen/CompileUnit;)V
areturn
end local 10 end local 9 end local 8 end local 6 end local 4 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/Splitter;
0 5 1 parent Ljdk/nashorn/internal/ir/Block;
0 5 2 function Ljdk/nashorn/internal/ir/FunctionNode;
0 5 3 statements Ljava/util/List<Ljdk/nashorn/internal/ir/Statement;>;
0 5 4 weight J
1 5 6 token J
2 5 8 finish I
3 5 9 name Ljava/lang/String;
4 5 10 newBlock Ljdk/nashorn/internal/ir/Block;
Signature: (Ljdk/nashorn/internal/ir/Block;Ljdk/nashorn/internal/ir/FunctionNode;Ljava/util/List<Ljdk/nashorn/internal/ir/Statement;>;J)Ljdk/nashorn/internal/ir/SplitNode;
MethodParameters:
Name Flags
parent final
function final
statements final
weight final
private boolean isBlockScopedVarNode(jdk.nashorn.internal.ir.Statement);
descriptor: (Ljdk/nashorn/internal/ir/Statement;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.nashorn.internal.ir.VarNode
ifeq 1
aload 1
checkcast jdk.nashorn.internal.ir.VarNode
invokevirtual jdk.nashorn.internal.ir.VarNode.isBlockScoped:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/Splitter;
0 2 1 statement Ljdk/nashorn/internal/ir/Statement;
MethodParameters:
Name Flags
statement final
public boolean enterBlock(jdk.nashorn.internal.ir.Block);
descriptor: (Ljdk/nashorn/internal/ir/Block;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.nashorn.internal.ir.Block.isCatchBlock:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.weightCache:Ljava/util/Map;
invokestatic jdk.nashorn.internal.codegen.WeighNodes.weigh:(Ljdk/nashorn/internal/ir/Node;Ljava/util/Map;)J
lstore 2
start local 2 3: lload 2
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
lcmp
ifge 6
4: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.weightCache:Ljava/util/Map;
aload 1
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: iconst_0
ireturn
6: StackMap locals: long
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/codegen/Splitter;
0 7 1 block Ljdk/nashorn/internal/ir/Block;
3 7 2 weight J
MethodParameters:
Name Flags
block final
public jdk.nashorn.internal.ir.Node leaveBlock(jdk.nashorn.internal.ir.Block);
descriptor: (Ljdk/nashorn/internal/ir/Block;)Ljdk/nashorn/internal/ir/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.codegen.Splitter.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual jdk.nashorn.internal.ir.Block.isCatchBlock:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
astore 2
start local 2 2: aload 1
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.weightCache:Ljava/util/Map;
invokestatic jdk.nashorn.internal.codegen.WeighNodes.weigh:(Ljdk/nashorn/internal/ir/Node;Ljava/util/Map;)J
lstore 3
start local 3 3: lload 3
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
lcmp
iflt 8
4: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.lc:Ljdk/nashorn/internal/ir/LexicalContext;
invokevirtual jdk.nashorn.internal.ir.LexicalContext.getCurrentFunction:()Ljdk/nashorn/internal/ir/FunctionNode;
astore 5
start local 5 5: aload 0
aload 1
aload 5
invokevirtual jdk.nashorn.internal.codegen.Splitter.splitBlock:(Ljdk/nashorn/internal/ir/Block;Ljdk/nashorn/internal/ir/FunctionNode;)Ljdk/nashorn/internal/ir/Block;
astore 2
6: aload 2
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.weightCache:Ljava/util/Map;
invokestatic jdk.nashorn.internal.codegen.WeighNodes.weigh:(Ljdk/nashorn/internal/ir/Node;Ljava/util/Map;)J
lstore 3
7: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.lc:Ljdk/nashorn/internal/ir/LexicalContext;
aload 5
bipush 16
invokevirtual jdk.nashorn.internal.ir.LexicalContext.setFlag:(Ljdk/nashorn/internal/ir/LexicalContextNode;I)V
end local 5 8: StackMap locals: jdk.nashorn.internal.ir.Block long
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.weightCache:Ljava/util/Map;
aload 2
lload 3
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/nashorn/internal/codegen/Splitter;
0 10 1 block Ljdk/nashorn/internal/ir/Block;
2 10 2 newBlock Ljdk/nashorn/internal/ir/Block;
3 10 3 weight J
5 8 5 currentFunction Ljdk/nashorn/internal/ir/FunctionNode;
MethodParameters:
Name Flags
block 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=18, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.nashorn.internal.codegen.WeighNodes.weigh:(Ljdk/nashorn/internal/ir/Node;)J
lstore 2
start local 2 1: lload 2
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
lcmp
ifge 3
2: aload 1
areturn
3: StackMap locals: long
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.lc:Ljdk/nashorn/internal/ir/LexicalContext;
invokevirtual jdk.nashorn.internal.ir.LexicalContext.getCurrentFunction:()Ljdk/nashorn/internal/ir/FunctionNode;
astore 4
start local 4 4: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.lc:Ljdk/nashorn/internal/ir/LexicalContext;
aload 4
bipush 16
invokevirtual jdk.nashorn.internal.ir.LexicalContext.setFlag:(Ljdk/nashorn/internal/ir/LexicalContextNode;I)V
5: aload 1
instanceof jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode
ifeq 30
6: aload 1
checkcast jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode
astore 5
start local 5 7: aload 5
invokevirtual jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode.getValue:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.Node[]
astore 6
start local 6 8: aload 5
invokevirtual jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode.getPostsets:()[I
astore 7
start local 7 9: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 10: lconst_0
lstore 9
start local 9 11: iconst_0
istore 11
start local 11 12: iconst_0
istore 12
start local 12 13: goto 24
14: StackMap locals: jdk.nashorn.internal.codegen.Splitter jdk.nashorn.internal.ir.LiteralNode long jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode jdk.nashorn.internal.ir.Node[] int[] java.util.List long int int
StackMap stack:
aload 7
iload 12
iaload
istore 13
start local 13 15: aload 6
iload 13
aaload
astore 14
start local 14 16: aload 14
invokestatic jdk.nashorn.internal.codegen.WeighNodes.weigh:(Ljdk/nashorn/internal/ir/Node;)J
lstore 15
start local 15 17: lload 9
ldc 2
lload 15
ladd
ladd
lstore 9
18: lload 9
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
lcmp
iflt 23
19: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.compiler:Ljdk/nashorn/internal/codegen/Compiler;
lload 9
lload 15
lsub
invokevirtual jdk.nashorn.internal.codegen.Compiler.findUnit:(J)Ljdk/nashorn/internal/codegen/CompileUnit;
astore 17
start local 17 20: aload 8
new jdk.nashorn.internal.ir.Splittable$SplitRange
dup
aload 17
iload 11
iload 12
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
21: iload 12
istore 11
22: lload 15
lstore 9
end local 17 end local 15 end local 14 end local 13 23: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
24: iload 12
aload 7
arraylength
if_icmplt 14
end local 12 25: iload 11
aload 7
arraylength
if_icmpeq 28
26: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.compiler:Ljdk/nashorn/internal/codegen/Compiler;
lload 9
invokevirtual jdk.nashorn.internal.codegen.Compiler.findUnit:(J)Ljdk/nashorn/internal/codegen/CompileUnit;
astore 12
start local 12 27: aload 8
new jdk.nashorn.internal.ir.Splittable$SplitRange
dup
aload 12
iload 11
aload 7
arraylength
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 12 28: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "Splitting array literal in '"
aastore
dup
iconst_1
aload 4
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getName:()Ljava/lang/String;
aastore
dup
iconst_2
ldc "' as its weight "
aastore
dup
iconst_3
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_4
ldc " exceeds split threshold "
aastore
dup
iconst_5
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:([Ljava/lang/Object;)V
29: aload 5
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.lc:Ljdk/nashorn/internal/ir/LexicalContext;
aload 8
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 11 end local 9 end local 8 end local 7 end local 6 end local 5 30: StackMap locals: jdk.nashorn.internal.codegen.Splitter jdk.nashorn.internal.ir.LiteralNode long jdk.nashorn.internal.ir.FunctionNode
StackMap stack:
aload 1
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Ljdk/nashorn/internal/codegen/Splitter;
0 31 1 literal Ljdk/nashorn/internal/ir/LiteralNode;
1 31 2 weight J
4 31 4 functionNode Ljdk/nashorn/internal/ir/FunctionNode;
7 30 5 arrayLiteralNode Ljdk/nashorn/internal/ir/LiteralNode$ArrayLiteralNode;
8 30 6 value [Ljdk/nashorn/internal/ir/Node;
9 30 7 postsets [I
10 30 8 ranges Ljava/util/List<Ljdk/nashorn/internal/ir/Splittable$SplitRange;>;
11 30 9 totalWeight J
12 30 11 lo I
13 25 12 i I
15 23 13 postset I
16 23 14 element Ljdk/nashorn/internal/ir/Node;
17 23 15 elementWeight J
20 23 17 unit Ljdk/nashorn/internal/codegen/CompileUnit;
27 28 12 unit Ljdk/nashorn/internal/codegen/CompileUnit;
MethodParameters:
Name Flags
literal 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=17, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.nashorn.internal.codegen.WeighNodes.weigh:(Ljdk/nashorn/internal/ir/Node;)J
lstore 2
start local 2 1: lload 2
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
lcmp
ifge 3
2: aload 1
areturn
3: StackMap locals: long
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.lc:Ljdk/nashorn/internal/ir/LexicalContext;
invokevirtual jdk.nashorn.internal.ir.LexicalContext.getCurrentFunction:()Ljdk/nashorn/internal/ir/FunctionNode;
astore 4
start local 4 4: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.lc:Ljdk/nashorn/internal/ir/LexicalContext;
aload 4
bipush 16
invokevirtual jdk.nashorn.internal.ir.LexicalContext.setFlag:(Ljdk/nashorn/internal/ir/LexicalContextNode;I)V
5: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 6: aload 1
invokevirtual jdk.nashorn.internal.ir.ObjectNode.getElements:()Ljava/util/List;
astore 6
start local 6 7: aload 6
invokeinterface java.util.List.size:()I
getstatic jdk.nashorn.internal.codegen.CodeGenerator.OBJECT_SPILL_THRESHOLD:I
if_icmple 8
iconst_1
goto 9
StackMap locals: jdk.nashorn.internal.ir.FunctionNode java.util.List java.util.List
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 7
start local 7 10: lconst_0
lstore 8
start local 8 11: iconst_0
istore 10
start local 10 12: iconst_0
istore 11
start local 11 13: goto 27
14: StackMap locals: jdk.nashorn.internal.codegen.Splitter jdk.nashorn.internal.ir.ObjectNode long jdk.nashorn.internal.ir.FunctionNode java.util.List java.util.List int long int int
StackMap stack:
aload 6
iload 11
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.PropertyNode
astore 12
start local 12 15: aload 12
invokevirtual jdk.nashorn.internal.ir.PropertyNode.getValue:()Ljdk/nashorn/internal/ir/Expression;
invokestatic jdk.nashorn.internal.ir.LiteralNode.isConstant:(Ljava/lang/Object;)Z
istore 13
start local 13 16: iload 13
ifeq 17
iload 7
ifne 26
17: StackMap locals: jdk.nashorn.internal.ir.PropertyNode int
StackMap stack:
iload 13
ifeq 18
lconst_0
goto 19
StackMap locals:
StackMap stack:
18: aload 12
invokevirtual jdk.nashorn.internal.ir.PropertyNode.getValue:()Ljdk/nashorn/internal/ir/Expression;
invokestatic jdk.nashorn.internal.codegen.WeighNodes.weigh:(Ljdk/nashorn/internal/ir/Node;)J
StackMap locals:
StackMap stack: long
19: lstore 14
start local 14 20: lload 8
ldc 2
lload 14
ladd
ladd
lstore 8
21: lload 8
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
lcmp
iflt 26
22: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.compiler:Ljdk/nashorn/internal/codegen/Compiler;
lload 8
lload 14
lsub
invokevirtual jdk.nashorn.internal.codegen.Compiler.findUnit:(J)Ljdk/nashorn/internal/codegen/CompileUnit;
astore 16
start local 16 23: aload 5
new jdk.nashorn.internal.ir.Splittable$SplitRange
dup
aload 16
iload 10
iload 11
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
24: iload 11
istore 10
25: lload 14
lstore 8
end local 16 end local 14 end local 13 end local 12 26: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
27: iload 11
aload 6
invokeinterface java.util.List.size:()I
if_icmplt 14
end local 11 28: iload 10
aload 6
invokeinterface java.util.List.size:()I
if_icmpeq 31
29: aload 0
getfield jdk.nashorn.internal.codegen.Splitter.compiler:Ljdk/nashorn/internal/codegen/Compiler;
lload 8
invokevirtual jdk.nashorn.internal.codegen.Compiler.findUnit:(J)Ljdk/nashorn/internal/codegen/CompileUnit;
astore 11
start local 11 30: aload 5
new jdk.nashorn.internal.ir.Splittable$SplitRange
dup
aload 11
iload 10
aload 6
invokeinterface java.util.List.size:()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 11 31: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "Splitting object node in '"
aastore
dup
iconst_1
aload 4
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getName:()Ljava/lang/String;
aastore
dup
iconst_2
ldc "' as its weight "
aastore
dup
iconst_3
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_4
ldc " exceeds split threshold "
aastore
dup
iconst_5
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:([Ljava/lang/Object;)V
32: aload 1
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.lc:Ljdk/nashorn/internal/ir/LexicalContext;
aload 5
invokevirtual jdk.nashorn.internal.ir.ObjectNode.setSplitRanges:(Ljdk/nashorn/internal/ir/LexicalContext;Ljava/util/List;)Ljdk/nashorn/internal/ir/ObjectNode;
areturn
end local 10 end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Ljdk/nashorn/internal/codegen/Splitter;
0 33 1 objectNode Ljdk/nashorn/internal/ir/ObjectNode;
1 33 2 weight J
4 33 4 functionNode Ljdk/nashorn/internal/ir/FunctionNode;
6 33 5 ranges Ljava/util/List<Ljdk/nashorn/internal/ir/Splittable$SplitRange;>;
7 33 6 properties Ljava/util/List<Ljdk/nashorn/internal/ir/PropertyNode;>;
10 33 7 isSpillObject Z
11 33 8 totalWeight J
12 33 10 lo I
13 28 11 i I
15 26 12 property Ljdk/nashorn/internal/ir/PropertyNode;
16 26 13 isConstant Z
20 26 14 propertyWeight J
23 26 16 unit Ljdk/nashorn/internal/codegen/CompileUnit;
30 31 11 unit Ljdk/nashorn/internal/codegen/CompileUnit;
MethodParameters:
Name Flags
objectNode final
public boolean enterFunctionNode(jdk.nashorn.internal.ir.FunctionNode);
descriptor: (Ljdk/nashorn/internal/ir/FunctionNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield jdk.nashorn.internal.codegen.Splitter.outermost:Ljdk/nashorn/internal/ir/FunctionNode;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/Splitter;
0 2 1 node Ljdk/nashorn/internal/ir/FunctionNode;
MethodParameters:
Name Flags
node final
}
SourceFile: "Splitter.java"
NestMembers:
jdk.nashorn.internal.codegen.Splitter$1 jdk.nashorn.internal.codegen.Splitter$2
InnerClasses:
jdk.nashorn.internal.codegen.Splitter$1
jdk.nashorn.internal.codegen.Splitter$2
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
RuntimeVisibleAnnotations:
jdk.nashorn.internal.runtime.logging.Logger(name = "splitter")