final class jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext extends jdk.nashorn.internal.ir.LexicalContext
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext
super_class: jdk.nashorn.internal.ir.LexicalContext
{
private int dynamicScopeCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.util.Map<jdk.nashorn.internal.codegen.SharedScopeCall, jdk.nashorn.internal.codegen.SharedScopeCall> scopeCalls;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljdk/nashorn/internal/codegen/SharedScopeCall;Ljdk/nashorn/internal/codegen/SharedScopeCall;>;
private final java.util.Deque<jdk.nashorn.internal.codegen.CompileUnit> compileUnits;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Ljdk/nashorn/internal/codegen/CompileUnit;>;
private final java.util.Deque<jdk.nashorn.internal.codegen.MethodEmitter> methodEmitters;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Ljdk/nashorn/internal/codegen/MethodEmitter;>;
private final java.util.Deque<jdk.nashorn.internal.ir.Expression> discard;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Ljdk/nashorn/internal/ir/Expression;>;
private final java.util.Deque<java.util.Map<java.lang.String, java.util.Collection<jdk.nashorn.internal.codegen.Label>>> unwarrantedOptimismHandlers;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljdk/nashorn/internal/codegen/Label;>;>;>;
private final java.util.Deque<java.lang.StringBuilder> slotTypesDescriptors;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Ljava/lang/StringBuilder;>;
private final jdk.nashorn.internal.IntDeque splitLiterals;
descriptor: Ljdk/nashorn/internal/IntDeque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int[] nextFreeSlots;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private int nextFreeSlotsSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
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/CodeGeneratorLexicalContext;
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.CodeGeneratorLexicalContext.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.nashorn.internal.ir.LexicalContext.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.scopeCalls:Ljava/util/Map;
2: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.compileUnits:Ljava/util/Deque;
3: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.methodEmitters:Ljava/util/Deque;
4: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.discard:Ljava/util/Deque;
5: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.unwarrantedOptimismHandlers:Ljava/util/Deque;
6: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.slotTypesDescriptors:Ljava/util/Deque;
7: aload 0
new jdk.nashorn.internal.IntDeque
dup
invokespecial jdk.nashorn.internal.IntDeque.<init>:()V
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.splitLiterals:Ljdk/nashorn/internal/IntDeque;
8: aload 0
bipush 16
newarray 10
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlots:[I
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
private boolean isWithBoundary(java.lang.Object);
descriptor: (Ljava/lang/Object;)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.Block
ifeq 1
aload 0
invokevirtual jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.isEmpty:()Z
ifne 1
aload 0
invokevirtual jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.peek:()Ljdk/nashorn/internal/ir/LexicalContextNode;
instanceof jdk.nashorn.internal.ir.WithNode
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/CodeGeneratorLexicalContext;
0 2 1 node Ljava/lang/Object;
MethodParameters:
Name Flags
node final
public <T extends jdk.nashorn.internal.ir.LexicalContextNode> T push();
descriptor: (Ljdk/nashorn/internal/ir/LexicalContextNode;)Ljdk/nashorn/internal/ir/LexicalContextNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.isWithBoundary:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
dup
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.dynamicScopeCount:I
iconst_1
iadd
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.dynamicScopeCount:I
2: goto 7
StackMap locals:
StackMap stack:
3: aload 1
instanceof jdk.nashorn.internal.ir.FunctionNode
ifeq 7
4: aload 1
checkcast jdk.nashorn.internal.ir.FunctionNode
invokevirtual jdk.nashorn.internal.ir.FunctionNode.inDynamicContext:()Z
ifeq 6
5: aload 0
dup
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.dynamicScopeCount:I
iconst_1
iadd
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.dynamicScopeCount:I
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.splitLiterals:Ljdk/nashorn/internal/IntDeque;
iconst_0
invokevirtual jdk.nashorn.internal.IntDeque.push:(I)V
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial jdk.nashorn.internal.ir.LexicalContext.push:(Ljdk/nashorn/internal/ir/LexicalContextNode;)Ljdk/nashorn/internal/ir/LexicalContextNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 8 1 node TT;
Signature: <T::Ljdk/nashorn/internal/ir/LexicalContextNode;>(TT;)TT;
MethodParameters:
Name Flags
node final
void enterSplitLiteral();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.splitLiterals:Ljdk/nashorn/internal/IntDeque;
invokevirtual jdk.nashorn.internal.IntDeque.getAndIncrement:()I
pop
1: aload 0
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.methodEmitters:Ljava/util/Deque;
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.MethodEmitter
invokevirtual jdk.nashorn.internal.codegen.MethodEmitter.getUsedSlotsWithLiveTemporaries:()I
invokevirtual jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.pushFreeSlots:(I)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
void exitSplitLiteral();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.splitLiterals:Ljdk/nashorn/internal/IntDeque;
invokevirtual jdk.nashorn.internal.IntDeque.decrementAndGet:()I
istore 1
start local 1 1: getstatic jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.$assertionsDisabled:Z
ifne 2
iload 1
ifge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
1 3 1 count I
public <T extends jdk.nashorn.internal.ir.Node> T pop();
descriptor: (Ljdk/nashorn/internal/ir/Node;)Ljdk/nashorn/internal/ir/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial jdk.nashorn.internal.ir.LexicalContext.pop:(Ljdk/nashorn/internal/ir/Node;)Ljdk/nashorn/internal/ir/Node;
astore 2
start local 2 1: aload 0
aload 1
invokevirtual jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.isWithBoundary:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
dup
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.dynamicScopeCount:I
iconst_1
isub
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.dynamicScopeCount:I
3: getstatic jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.$assertionsDisabled:Z
ifne 10
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.dynamicScopeCount:I
ifge 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: jdk.nashorn.internal.ir.Node
StackMap stack:
aload 1
instanceof jdk.nashorn.internal.ir.FunctionNode
ifeq 10
5: aload 1
checkcast jdk.nashorn.internal.ir.FunctionNode
invokevirtual jdk.nashorn.internal.ir.FunctionNode.inDynamicContext:()Z
ifeq 8
6: aload 0
dup
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.dynamicScopeCount:I
iconst_1
isub
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.dynamicScopeCount:I
7: getstatic jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.$assertionsDisabled:Z
ifne 8
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.dynamicScopeCount:I
ifge 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.$assertionsDisabled:Z
ifne 9
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.splitLiterals:Ljdk/nashorn/internal/IntDeque;
invokevirtual jdk.nashorn.internal.IntDeque.peek:()I
ifeq 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.splitLiterals:Ljdk/nashorn/internal/IntDeque;
invokevirtual jdk.nashorn.internal.IntDeque.pop:()I
pop
10: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 11 1 node TT;
1 11 2 popped TT;
Signature: <T:Ljdk/nashorn/internal/ir/Node;>(TT;)TT;
MethodParameters:
Name Flags
node final
boolean inDynamicScope();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.dynamicScopeCount:I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
boolean inSplitLiteral();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.splitLiterals:Ljdk/nashorn/internal/IntDeque;
invokevirtual jdk.nashorn.internal.IntDeque.isEmpty:()Z
ifne 1
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.splitLiterals:Ljdk/nashorn/internal/IntDeque;
invokevirtual jdk.nashorn.internal.IntDeque.peek:()I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
jdk.nashorn.internal.codegen.MethodEmitter pushMethodEmitter(jdk.nashorn.internal.codegen.MethodEmitter);
descriptor: (Ljdk/nashorn/internal/codegen/MethodEmitter;)Ljdk/nashorn/internal/codegen/MethodEmitter;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.methodEmitters:Ljava/util/Deque;
aload 1
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 2 1 newMethod Ljdk/nashorn/internal/codegen/MethodEmitter;
MethodParameters:
Name Flags
newMethod final
jdk.nashorn.internal.codegen.MethodEmitter popMethodEmitter(jdk.nashorn.internal.codegen.MethodEmitter);
descriptor: (Ljdk/nashorn/internal/codegen/MethodEmitter;)Ljdk/nashorn/internal/codegen/MethodEmitter;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.methodEmitters:Ljava/util/Deque;
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
aload 1
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.methodEmitters:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
pop
2: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.methodEmitters:Ljava/util/Deque;
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 3
aconst_null
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.methodEmitters:Ljava/util/Deque;
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.MethodEmitter
StackMap locals:
StackMap stack: jdk.nashorn.internal.codegen.MethodEmitter
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 5 1 oldMethod Ljdk/nashorn/internal/codegen/MethodEmitter;
MethodParameters:
Name Flags
oldMethod final
void pushUnwarrantedOptimismHandlers();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.unwarrantedOptimismHandlers:Ljava/util/Deque;
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
1: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.slotTypesDescriptors:Ljava/util/Deque;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
java.util.Map<java.lang.String, java.util.Collection<jdk.nashorn.internal.codegen.Label>> getUnwarrantedOptimismHandlers();
descriptor: ()Ljava/util/Map;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.unwarrantedOptimismHandlers:Ljava/util/Deque;
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
checkcast java.util.Map
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljdk/nashorn/internal/codegen/Label;>;>;
java.util.Map<java.lang.String, java.util.Collection<jdk.nashorn.internal.codegen.Label>> popUnwarrantedOptimismHandlers();
descriptor: ()Ljava/util/Map;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.slotTypesDescriptors:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
pop
1: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.unwarrantedOptimismHandlers:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast java.util.Map
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljdk/nashorn/internal/codegen/Label;>;>;
jdk.nashorn.internal.codegen.CompileUnit pushCompileUnit(jdk.nashorn.internal.codegen.CompileUnit);
descriptor: (Ljdk/nashorn/internal/codegen/CompileUnit;)Ljdk/nashorn/internal/codegen/CompileUnit;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.compileUnits:Ljava/util/Deque;
aload 1
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 2 1 newUnit Ljdk/nashorn/internal/codegen/CompileUnit;
MethodParameters:
Name Flags
newUnit final
jdk.nashorn.internal.codegen.CompileUnit popCompileUnit(jdk.nashorn.internal.codegen.CompileUnit);
descriptor: (Ljdk/nashorn/internal/codegen/CompileUnit;)Ljdk/nashorn/internal/codegen/CompileUnit;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.compileUnits:Ljava/util/Deque;
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
aload 1
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.compileUnits:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.CompileUnit
astore 2
start local 2 2: getstatic jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.$assertionsDisabled:Z
ifne 3
aload 2
invokevirtual jdk.nashorn.internal.codegen.CompileUnit.hasCode:()Z
ifne 3
new java.lang.AssertionError
dup
ldc "compile unit popped without code"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: jdk.nashorn.internal.codegen.CompileUnit
StackMap stack:
aload 2
invokevirtual jdk.nashorn.internal.codegen.CompileUnit.setUsed:()V
4: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.compileUnits:Ljava/util/Deque;
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 5
aconst_null
goto 6
StackMap locals:
StackMap stack:
5: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.compileUnits:Ljava/util/Deque;
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.CompileUnit
StackMap locals:
StackMap stack: jdk.nashorn.internal.codegen.CompileUnit
6: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 7 1 oldUnit Ljdk/nashorn/internal/codegen/CompileUnit;
2 7 2 unit Ljdk/nashorn/internal/codegen/CompileUnit;
MethodParameters:
Name Flags
oldUnit final
boolean hasCompileUnits();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.compileUnits:Ljava/util/Deque;
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
java.util.Collection<jdk.nashorn.internal.codegen.SharedScopeCall> getScopeCalls();
descriptor: ()Ljava/util/Collection;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.scopeCalls:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokestatic java.util.Collections.unmodifiableCollection:(Ljava/util/Collection;)Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
Signature: ()Ljava/util/Collection<Ljdk/nashorn/internal/codegen/SharedScopeCall;>;
jdk.nashorn.internal.codegen.SharedScopeCall getScopeCall(jdk.nashorn.internal.codegen.CompileUnit, jdk.nashorn.internal.ir.Symbol, jdk.nashorn.internal.codegen.types.Type, jdk.nashorn.internal.codegen.types.Type, jdk.nashorn.internal.codegen.types.Type[], int, boolean);
descriptor: (Ljdk/nashorn/internal/codegen/CompileUnit;Ljdk/nashorn/internal/ir/Symbol;Ljdk/nashorn/internal/codegen/types/Type;Ljdk/nashorn/internal/codegen/types/Type;[Ljdk/nashorn/internal/codegen/types/Type;IZ)Ljdk/nashorn/internal/codegen/SharedScopeCall;
flags: (0x0000)
Code:
stack=8, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: new jdk.nashorn.internal.codegen.SharedScopeCall
dup
aload 2
aload 3
aload 4
aload 5
iload 6
1: iload 7
2: invokespecial jdk.nashorn.internal.codegen.SharedScopeCall.<init>:(Ljdk/nashorn/internal/ir/Symbol;Ljdk/nashorn/internal/codegen/types/Type;Ljdk/nashorn/internal/codegen/types/Type;[Ljdk/nashorn/internal/codegen/types/Type;IZ)V
astore 8
start local 8 3: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.scopeCalls:Ljava/util/Map;
aload 8
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 5
4: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.scopeCalls:Ljava/util/Map;
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.SharedScopeCall
areturn
5: StackMap locals: jdk.nashorn.internal.codegen.SharedScopeCall
StackMap stack:
aload 8
aload 1
aload 0
invokevirtual jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.getCurrentFunction:()Ljdk/nashorn/internal/ir/FunctionNode;
ldc ":scopeCall"
invokevirtual jdk.nashorn.internal.ir.FunctionNode.uniqueName:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual jdk.nashorn.internal.codegen.SharedScopeCall.setClassAndName:(Ljdk/nashorn/internal/codegen/CompileUnit;Ljava/lang/String;)V
6: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.scopeCalls:Ljava/util/Map;
aload 8
aload 8
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 8
areturn
end local 8 end local 7 end local 6 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 8 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 8 1 unit Ljdk/nashorn/internal/codegen/CompileUnit;
0 8 2 symbol Ljdk/nashorn/internal/ir/Symbol;
0 8 3 valueType Ljdk/nashorn/internal/codegen/types/Type;
0 8 4 returnType Ljdk/nashorn/internal/codegen/types/Type;
0 8 5 paramTypes [Ljdk/nashorn/internal/codegen/types/Type;
0 8 6 flags I
0 8 7 isOptimistic Z
3 8 8 scopeCall Ljdk/nashorn/internal/codegen/SharedScopeCall;
MethodParameters:
Name Flags
unit final
symbol final
valueType final
returnType final
paramTypes final
flags final
isOptimistic final
jdk.nashorn.internal.codegen.SharedScopeCall getScopeGet(jdk.nashorn.internal.codegen.CompileUnit, jdk.nashorn.internal.ir.Symbol, jdk.nashorn.internal.codegen.types.Type, int, boolean);
descriptor: (Ljdk/nashorn/internal/codegen/CompileUnit;Ljdk/nashorn/internal/ir/Symbol;Ljdk/nashorn/internal/codegen/types/Type;IZ)Ljdk/nashorn/internal/codegen/SharedScopeCall;
flags: (0x0000)
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 3
aconst_null
iload 4
iload 5
invokevirtual jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.getScopeCall:(Ljdk/nashorn/internal/codegen/CompileUnit;Ljdk/nashorn/internal/ir/Symbol;Ljdk/nashorn/internal/codegen/types/Type;Ljdk/nashorn/internal/codegen/types/Type;[Ljdk/nashorn/internal/codegen/types/Type;IZ)Ljdk/nashorn/internal/codegen/SharedScopeCall;
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 1 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 1 1 unit Ljdk/nashorn/internal/codegen/CompileUnit;
0 1 2 symbol Ljdk/nashorn/internal/ir/Symbol;
0 1 3 valueType Ljdk/nashorn/internal/codegen/types/Type;
0 1 4 flags I
0 1 5 isOptimistic Z
MethodParameters:
Name Flags
unit final
symbol final
valueType final
flags final
isOptimistic final
void onEnterBlock(jdk.nashorn.internal.ir.Block);
descriptor: (Ljdk/nashorn/internal/ir/Block;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
aload 0
invokevirtual jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.isFunctionBody:()Z
ifeq 1
iconst_0
goto 2
StackMap locals: jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext jdk.nashorn.internal.ir.Block
StackMap stack: jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext jdk.nashorn.internal.ir.Block
1: aload 0
invokevirtual jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.getUsedSlotCount:()I
StackMap locals: jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext jdk.nashorn.internal.ir.Block
StackMap stack: jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext jdk.nashorn.internal.ir.Block int
2: invokevirtual jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.assignSlots:(Ljdk/nashorn/internal/ir/Block;I)I
invokevirtual jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.pushFreeSlots:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 4 1 block Ljdk/nashorn/internal/ir/Block;
MethodParameters:
Name Flags
block final
private void pushFreeSlots(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlotsSize:I
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlots:[I
arraylength
if_icmpne 4
1: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlotsSize:I
iconst_2
imul
newarray 10
astore 2
start local 2 2: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlots:[I
iconst_0
aload 2
iconst_0
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlotsSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
aload 2
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlots:[I
end local 2 4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlots:[I
aload 0
dup
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlotsSize:I
dup_x1
iconst_1
iadd
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlotsSize:I
iload 1
iastore
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 6 1 freeSlots I
2 4 2 newNextFreeSlots [I
MethodParameters:
Name Flags
freeSlots final
int getUsedSlotCount();
descriptor: ()I
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlots:[I
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlotsSize:I
iconst_1
isub
iaload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
void releaseSlots();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
dup
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlotsSize:I
iconst_1
isub
putfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlotsSize:I
1: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlotsSize:I
ifne 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlots:[I
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.nextFreeSlotsSize:I
iconst_1
isub
iaload
StackMap locals:
StackMap stack: int
3: istore 1
start local 1 4: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.slotTypesDescriptors:Ljava/util/Deque;
invokeinterface java.util.Deque.isEmpty:()Z
ifne 6
5: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.slotTypesDescriptors:Ljava/util/Deque;
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
checkcast java.lang.StringBuilder
iload 1
invokevirtual java.lang.StringBuilder.setLength:(I)V
6: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.methodEmitters:Ljava/util/Deque;
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.MethodEmitter
iload 1
iconst_0
invokevirtual jdk.nashorn.internal.codegen.MethodEmitter.undefineLocalVariables:(IZ)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
4 8 1 undefinedFromSlot I
private int assignSlots(jdk.nashorn.internal.ir.Block, int);
descriptor: (Ljdk/nashorn/internal/ir/Block;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iload 2
istore 3
start local 3 1: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.methodEmitters:Ljava/util/Deque;
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.MethodEmitter
astore 4
start local 4 2: aload 1
invokevirtual jdk.nashorn.internal.ir.Block.getSymbols:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 9
StackMap locals: jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext jdk.nashorn.internal.ir.Block int int jdk.nashorn.internal.codegen.MethodEmitter top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.Symbol
astore 5
start local 5 4: aload 5
invokevirtual jdk.nashorn.internal.ir.Symbol.hasSlot:()Z
ifeq 9
5: aload 5
iload 3
invokevirtual jdk.nashorn.internal.ir.Symbol.setFirstSlot:(I)Ljdk/nashorn/internal/ir/Symbol;
pop
6: iload 3
aload 5
invokevirtual jdk.nashorn.internal.ir.Symbol.slotCount:()I
iadd
istore 7
start local 7 7: aload 4
iload 3
iload 7
invokevirtual jdk.nashorn.internal.codegen.MethodEmitter.defineBlockLocalVariable:(II)V
8: iload 7
istore 3
end local 7 end local 5 9: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: iload 3
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 11 1 block Ljdk/nashorn/internal/ir/Block;
0 11 2 firstSlot I
1 11 3 fromSlot I
2 11 4 method Ljdk/nashorn/internal/codegen/MethodEmitter;
4 9 5 symbol Ljdk/nashorn/internal/ir/Symbol;
7 9 7 toSlot I
MethodParameters:
Name Flags
block final
firstSlot final
static jdk.nashorn.internal.codegen.types.Type getTypeForSlotDescriptor(char);
descriptor: (C)Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
lookupswitch { // 10
65: 4
68: 3
73: 1
74: 2
85: 5
97: 4
100: 3
105: 1
106: 2
117: 5
default: 6
}
1: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.codegen.types.Type.INT:Ljdk/nashorn/internal/codegen/types/BitwiseType;
areturn
2: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.codegen.types.Type.LONG:Ljdk/nashorn/internal/codegen/types/Type;
areturn
3: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.codegen.types.Type.NUMBER:Ljdk/nashorn/internal/codegen/types/NumericType;
areturn
4: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.codegen.types.Type.OBJECT:Ljdk/nashorn/internal/codegen/types/Type;
areturn
5: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.codegen.types.Type.UNKNOWN:Ljdk/nashorn/internal/codegen/types/Type;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 typeDesc C
MethodParameters:
Name Flags
typeDesc final
void pushDiscard(jdk.nashorn.internal.ir.Expression);
descriptor: (Ljdk/nashorn/internal/ir/Expression;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.discard:Ljava/util/Deque;
aload 1
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 2 1 expr Ljdk/nashorn/internal/ir/Expression;
MethodParameters:
Name Flags
expr final
boolean popDiscardIfCurrent(jdk.nashorn.internal.ir.Expression);
descriptor: (Ljdk/nashorn/internal/ir/Expression;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.isCurrentDiscard:(Ljdk/nashorn/internal/ir/Expression;)Z
ifeq 3
1: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.discard:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
pop
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 4 1 expr Ljdk/nashorn/internal/ir/Expression;
MethodParameters:
Name Flags
expr final
boolean isCurrentDiscard(jdk.nashorn.internal.ir.Expression);
descriptor: (Ljdk/nashorn/internal/ir/Expression;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.discard:Ljava/util/Deque;
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
aload 1
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/CodeGeneratorLexicalContext;
0 2 1 expr Ljdk/nashorn/internal/ir/Expression;
MethodParameters:
Name Flags
expr final
int quickSlot(jdk.nashorn.internal.codegen.types.Type);
descriptor: (Ljdk/nashorn/internal/codegen/types/Type;)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.CodeGeneratorLexicalContext.methodEmitters:Ljava/util/Deque;
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.MethodEmitter
aload 1
invokevirtual jdk.nashorn.internal.codegen.types.Type.getSlots:()I
invokevirtual jdk.nashorn.internal.codegen.MethodEmitter.defineTemporaryLocalVariable:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CodeGeneratorLexicalContext;
0 1 1 type Ljdk/nashorn/internal/codegen/types/Type;
MethodParameters:
Name Flags
type final
}
SourceFile: "CodeGeneratorLexicalContext.java"