final class jdk.nashorn.internal.codegen.CompilationPhase$SplittingPhase extends jdk.nashorn.internal.codegen.CompilationPhase
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.codegen.CompilationPhase$SplittingPhase
super_class: jdk.nashorn.internal.codegen.CompilationPhase
{
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/CompilationPhase;
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.CompilationPhase$SplittingPhase.$assertionsDisabled:Z
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 jdk.nashorn.internal.codegen.CompilationPhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CompilationPhase$SplittingPhase;
jdk.nashorn.internal.ir.FunctionNode transform(jdk.nashorn.internal.codegen.Compiler, jdk.nashorn.internal.codegen.Compiler$CompilationPhases, jdk.nashorn.internal.ir.FunctionNode);
descriptor: (Ljdk/nashorn/internal/codegen/Compiler;Ljdk/nashorn/internal/codegen/Compiler$CompilationPhases;Ljdk/nashorn/internal/ir/FunctionNode;)Ljdk/nashorn/internal/ir/FunctionNode;
flags: (0x0000)
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
lconst_0
invokevirtual jdk.nashorn.internal.codegen.Compiler.addCompileUnit:(J)Ljdk/nashorn/internal/codegen/CompileUnit;
astore 4
start local 4 1: aload 3
new jdk.nashorn.internal.codegen.CompilationPhase$SplittingPhase$1
dup
aload 0
invokespecial jdk.nashorn.internal.codegen.CompilationPhase$SplittingPhase$1.<init>:(Ljdk/nashorn/internal/codegen/CompilationPhase$SplittingPhase;)V
invokestatic jdk.nashorn.internal.codegen.CompilationPhase.transformFunction:(Ljdk/nashorn/internal/ir/FunctionNode;Ljdk/nashorn/internal/ir/visitor/NodeVisitor;)Ljdk/nashorn/internal/ir/FunctionNode;
astore 5
start local 5 2: new jdk.nashorn.internal.codegen.Splitter
dup
aload 1
aload 5
aload 4
invokespecial jdk.nashorn.internal.codegen.Splitter.<init>:(Ljdk/nashorn/internal/codegen/Compiler;Ljdk/nashorn/internal/ir/FunctionNode;Ljdk/nashorn/internal/codegen/CompileUnit;)V
aload 5
iconst_1
invokevirtual jdk.nashorn.internal.codegen.Splitter.split:(Ljdk/nashorn/internal/ir/FunctionNode;Z)Ljdk/nashorn/internal/ir/FunctionNode;
astore 5
3: aload 5
new jdk.nashorn.internal.codegen.SplitIntoFunctions
dup
aload 1
invokespecial jdk.nashorn.internal.codegen.SplitIntoFunctions.<init>:(Ljdk/nashorn/internal/codegen/Compiler;)V
invokestatic jdk.nashorn.internal.codegen.CompilationPhase.transformFunction:(Ljdk/nashorn/internal/ir/FunctionNode;Ljdk/nashorn/internal/ir/visitor/NodeVisitor;)Ljdk/nashorn/internal/ir/FunctionNode;
astore 5
4: getstatic jdk.nashorn.internal.codegen.CompilationPhase$SplittingPhase.$assertionsDisabled:Z
ifne 5
aload 5
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getCompileUnit:()Ljdk/nashorn/internal/codegen/CompileUnit;
aload 4
if_acmpeq 5
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "fn="
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;
ldc ", fn.compileUnit ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getCompileUnit:()Ljdk/nashorn/internal/codegen/CompileUnit;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ") != "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals: jdk.nashorn.internal.codegen.CompileUnit jdk.nashorn.internal.ir.FunctionNode
StackMap stack:
getstatic jdk.nashorn.internal.codegen.CompilationPhase$SplittingPhase.$assertionsDisabled:Z
ifne 6
aload 5
invokevirtual jdk.nashorn.internal.ir.FunctionNode.isStrict:()Z
aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.isStrict:()Z
if_icmpeq 6
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "functionNode.isStrict() != compiler.isStrict() for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getName:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.runtime.logging.DebugLogger.quote:(Ljava/lang/String;)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
6: StackMap locals:
StackMap stack:
aload 5
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 7 0 this Ljdk/nashorn/internal/codegen/CompilationPhase$SplittingPhase;
0 7 1 compiler Ljdk/nashorn/internal/codegen/Compiler;
0 7 2 phases Ljdk/nashorn/internal/codegen/Compiler$CompilationPhases;
0 7 3 fn Ljdk/nashorn/internal/ir/FunctionNode;
1 7 4 outermostCompileUnit Ljdk/nashorn/internal/codegen/CompileUnit;
2 7 5 newFunctionNode Ljdk/nashorn/internal/ir/FunctionNode;
MethodParameters:
Name Flags
compiler final
phases final
fn final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "'Code Splitting'"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CompilationPhase$SplittingPhase;
}
SourceFile: "CompilationPhase.java"
NestHost: jdk.nashorn.internal.codegen.CompilationPhase
InnerClasses:
private final SplittingPhase = jdk.nashorn.internal.codegen.CompilationPhase$SplittingPhase of jdk.nashorn.internal.codegen.CompilationPhase
jdk.nashorn.internal.codegen.CompilationPhase$SplittingPhase$1
public CompilationPhases = jdk.nashorn.internal.codegen.Compiler$CompilationPhases of jdk.nashorn.internal.codegen.Compiler