public abstract class com.oracle.truffle.js.nodes.binary.JSConcatStringsNode extends com.oracle.truffle.js.nodes.JavaScriptBaseNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.binary.JSConcatStringsNode
super_class: com.oracle.truffle.js.nodes.JavaScriptBaseNode
{
protected final int stringLengthLimit;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected void <init>(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.oracle.truffle.js.nodes.JavaScriptBaseNode.<init>:()V
1: aload 0
iload 1
putfield com.oracle.truffle.js.nodes.binary.JSConcatStringsNode.stringLengthLimit:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/binary/JSConcatStringsNode;
0 3 1 stringLengthLimit I
MethodParameters:
Name Flags
stringLengthLimit
public static com.oracle.truffle.js.nodes.binary.JSConcatStringsNode create(int);
descriptor: (I)Lcom/oracle/truffle/js/nodes/binary/JSConcatStringsNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tJSConcatStringsNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
stringLengthLimit
public static com.oracle.truffle.js.nodes.binary.JSConcatStringsNode create();
descriptor: ()Lcom/oracle/truffle/js/nodes/binary/JSConcatStringsNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.oracle.truffle.js.lang.JavaScriptLanguage.getCurrentJSRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getStringLengthLimit:()I
invokestatic com.oracle.truffle.js.nodes.binary.JSConcatStringsNode.create:(I)Lcom/oracle/truffle/js/nodes/binary/JSConcatStringsNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
public abstract java.lang.CharSequence executeCharSequence(java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
a
b
protected static java.lang.CharSequence doLeftEmpty(java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 left Ljava/lang/CharSequence;
0 1 1 right Ljava/lang/CharSequence;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isEmptyString(left)"})
MethodParameters:
Name Flags
left
right
protected static java.lang.CharSequence doRightEmpty(java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 left Ljava/lang/CharSequence;
0 1 1 right Ljava/lang/CharSequence;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isEmptyString(right)"})
MethodParameters:
Name Flags
left
right
protected final java.lang.CharSequence doConcat(java.lang.CharSequence, java.lang.CharSequence, com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.api.profiles.BranchProfile);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/BranchProfile;)Ljava/lang/CharSequence;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=16, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 1
aload 3
aload 4
invokestatic com.oracle.truffle.js.runtime.JSRuntime.length:(Ljava/lang/CharSequence;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;)I
istore 12
start local 12 1: aload 2
aload 6
aload 7
invokestatic com.oracle.truffle.js.runtime.JSRuntime.length:(Ljava/lang/CharSequence;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;)I
istore 13
start local 13 2: iload 12
iload 13
iadd
istore 14
start local 14 3: aload 0
iload 14
aload 11
invokevirtual com.oracle.truffle.js.nodes.binary.JSConcatStringsNode.validateStringLength:(ILcom/oracle/truffle/api/profiles/BranchProfile;)V
4: aload 9
iload 14
bipush 20
if_icmplt 5
iconst_1
goto 6
StackMap locals: com.oracle.truffle.js.nodes.binary.JSConcatStringsNode java.lang.CharSequence java.lang.CharSequence com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.BranchProfile int int int
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
5: iconst_0
StackMap locals: com.oracle.truffle.js.nodes.binary.JSConcatStringsNode java.lang.CharSequence java.lang.CharSequence com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.BranchProfile int int int
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
6: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 14
7: aload 10
iload 12
iconst_1
if_icmpeq 8
iload 13
iconst_1
if_icmpeq 8
iconst_0
goto 9
StackMap locals:
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
8: iconst_1
StackMap locals: com.oracle.truffle.js.nodes.binary.JSConcatStringsNode java.lang.CharSequence java.lang.CharSequence com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.BranchProfile int int int
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
9: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 13
10: aload 1
aload 2
iload 14
invokestatic com.oracle.truffle.js.runtime.objects.JSLazyString.concatToLeafMaybe:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Lcom/oracle/truffle/js/runtime/objects/JSLazyString;
astore 15
start local 15 11: aload 15
ifnull 13
12: aload 15
areturn
end local 15 13: StackMap locals:
StackMap stack:
aload 1
aload 2
iload 14
invokestatic com.oracle.truffle.js.runtime.objects.JSLazyString.createChecked:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Lcom/oracle/truffle/js/runtime/objects/JSLazyString;
areturn
end local 14 end local 13 end local 12 14: StackMap locals:
StackMap stack:
aload 1
aload 3
aload 4
aload 5
invokestatic com.oracle.truffle.js.nodes.binary.JSConcatStringsNode.toString:(Ljava/lang/CharSequence;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;)Ljava/lang/String;
astore 12
start local 12 15: aload 2
aload 6
aload 7
aload 8
invokestatic com.oracle.truffle.js.nodes.binary.JSConcatStringsNode.toString:(Ljava/lang/CharSequence;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;)Ljava/lang/String;
astore 13
start local 13 16: aload 12
aload 13
invokestatic com.oracle.truffle.js.runtime.Boundaries.stringConcat:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 13 end local 12 end local 11 end local 10 end local 9 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 17 0 this Lcom/oracle/truffle/js/nodes/binary/JSConcatStringsNode;
0 17 1 left Ljava/lang/CharSequence;
0 17 2 right Ljava/lang/CharSequence;
0 17 3 leftIsString Lcom/oracle/truffle/api/profiles/ConditionProfile;
0 17 4 leftIsLazyString Lcom/oracle/truffle/api/profiles/ConditionProfile;
0 17 5 leftIsFlat Lcom/oracle/truffle/api/profiles/ConditionProfile;
0 17 6 rightIsString Lcom/oracle/truffle/api/profiles/ConditionProfile;
0 17 7 rightIsLazyString Lcom/oracle/truffle/api/profiles/ConditionProfile;
0 17 8 rightIsFlat Lcom/oracle/truffle/api/profiles/ConditionProfile;
0 17 9 stringLength Lcom/oracle/truffle/api/profiles/ConditionProfile;
0 17 10 shortStringAppend Lcom/oracle/truffle/api/profiles/ConditionProfile;
0 17 11 errorBranch Lcom/oracle/truffle/api/profiles/BranchProfile;
1 14 12 leftLength I
2 14 13 rightLength I
3 14 14 resultLength I
11 13 15 result Lcom/oracle/truffle/js/runtime/objects/JSLazyString;
15 17 12 leftString Ljava/lang/String;
16 17 13 rightString Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isEmptyString(left)", "!isEmptyString(right)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
3:
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
4:
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
5:
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
6:
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
7:
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
8:
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
9:
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
10:
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
left
right
leftIsString
leftIsLazyString
leftIsFlat
rightIsString
rightIsLazyString
rightIsFlat
stringLength
shortStringAppend
errorBranch
private void validateStringLength(int, com.oracle.truffle.api.profiles.BranchProfile);
descriptor: (ILcom/oracle/truffle/api/profiles/BranchProfile;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc 1.0E-4
iload 1
iflt 1
iload 1
aload 0
getfield com.oracle.truffle.js.nodes.binary.JSConcatStringsNode.stringLengthLimit:I
if_icmpgt 1
iconst_0
goto 2
StackMap locals:
StackMap stack: double
1: iconst_1
StackMap locals: com.oracle.truffle.js.nodes.binary.JSConcatStringsNode int com.oracle.truffle.api.profiles.BranchProfile
StackMap stack: double int
2: invokestatic com.oracle.truffle.api.CompilerDirectives.injectBranchProbability:(DZ)Z
ifeq 5
3: aload 2
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
4: aload 0
invokestatic com.oracle.truffle.js.runtime.Errors.createRangeErrorInvalidStringLength:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/nodes/binary/JSConcatStringsNode;
0 6 1 resultLength I
0 6 2 errorBranch Lcom/oracle/truffle/api/profiles/BranchProfile;
MethodParameters:
Name Flags
resultLength
errorBranch
private static java.lang.String toString(java.lang.CharSequence, com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.api.profiles.ConditionProfile);
descriptor: (Ljava/lang/CharSequence;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 0
instanceof java.lang.String
invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 2
1: aload 0
checkcast java.lang.String
areturn
2: StackMap locals:
StackMap stack:
aload 2
aload 0
instanceof com.oracle.truffle.js.runtime.objects.JSLazyString
invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 4
3: aload 0
checkcast com.oracle.truffle.js.runtime.objects.JSLazyString
aload 3
invokevirtual com.oracle.truffle.js.runtime.objects.JSLazyString.toString:(Lcom/oracle/truffle/api/profiles/ConditionProfile;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic com.oracle.truffle.js.runtime.Boundaries.charSequenceToString:(Ljava/lang/CharSequence;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 cs Ljava/lang/CharSequence;
0 5 1 stringProfile Lcom/oracle/truffle/api/profiles/ConditionProfile;
0 5 2 lazyStringProfile Lcom/oracle/truffle/api/profiles/ConditionProfile;
0 5 3 flatProfile Lcom/oracle/truffle/api/profiles/ConditionProfile;
MethodParameters:
Name Flags
cs
stringProfile
lazyStringProfile
flatProfile
protected static boolean isEmptyString(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.lang.String
ifeq 1
aload 0
checkcast java.lang.String
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 s Ljava/lang/CharSequence;
MethodParameters:
Name Flags
s
}
SourceFile: "JSConcatStringsNode.java"