public abstract class com.oracle.graal.python.nodes.subscript.SliceLiteralNode$SliceExactCastToInt extends com.oracle.truffle.api.nodes.Node
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.graal.python.nodes.subscript.SliceLiteralNode$SliceExactCastToInt
super_class: com.oracle.truffle.api.nodes.Node
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.api.nodes.Node.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/graal/python/nodes/subscript/SliceLiteralNode$SliceExactCastToInt;
public abstract java.lang.Object execute(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
x
protected java.lang.Object doNone(com.oracle.graal.python.builtins.objects.PNone);
descriptor: (Lcom/oracle/graal/python/builtins/objects/PNone;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.oracle.graal.python.builtins.objects.PNone.NONE:Lcom/oracle/graal/python/builtins/objects/PNone;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/graal/python/nodes/subscript/SliceLiteralNode$SliceExactCastToInt;
0 1 1 i Lcom/oracle/graal/python/builtins/objects/PNone;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
i
protected java.lang.Object doGeneric(java.lang.Object, com.oracle.truffle.api.profiles.BranchProfile, com.oracle.graal.python.nodes.PRaiseNode, com.oracle.graal.python.builtins.objects.object.PythonObjectLibrary);
descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/api/profiles/BranchProfile;Lcom/oracle/graal/python/nodes/PRaiseNode;Lcom/oracle/graal/python/builtins/objects/object/PythonObjectLibrary;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
aload 1
invokevirtual com.oracle.graal.python.builtins.objects.object.PythonObjectLibrary.canBeIndex:(Ljava/lang/Object;)Z
ifeq 2
1: aload 4
aload 1
invokevirtual com.oracle.graal.python.builtins.objects.object.PythonObjectLibrary.asSize:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
3: aload 3
getstatic com.oracle.graal.python.builtins.PythonBuiltinClassType.TypeError:Lcom/oracle/graal/python/builtins/PythonBuiltinClassType;
ldc "slice indices must be integers or None or have an __index__ method"
invokevirtual com.oracle.graal.python.nodes.PRaiseNode.raise:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/oracle/graal/python/runtime/exception/PException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/graal/python/nodes/subscript/SliceLiteralNode$SliceExactCastToInt;
0 4 1 i Ljava/lang/Object;
0 4 2 exceptionProfile Lcom/oracle/truffle/api/profiles/BranchProfile;
0 4 3 raise Lcom/oracle/graal/python/nodes/PRaiseNode;
0 4 4 lib Lcom/oracle/graal/python/builtins/objects/object/PythonObjectLibrary;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isPNone(i)"}, limit = "2")
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached()
2:
com.oracle.truffle.api.dsl.Cached()
3:
com.oracle.truffle.api.library.CachedLibrary(value = "i")
MethodParameters:
Name Flags
i
exceptionProfile
raise
lib
}
SourceFile: "SliceLiteralNode.java"
NestHost: com.oracle.graal.python.nodes.subscript.SliceLiteralNode
InnerClasses:
public abstract SliceExactCastToInt = com.oracle.graal.python.nodes.subscript.SliceLiteralNode$SliceExactCastToInt of com.oracle.graal.python.nodes.subscript.SliceLiteralNode
RuntimeInvisibleAnnotations:
com.oracle.truffle.api.dsl.GenerateNodeFactory()
com.oracle.truffle.api.dsl.GenerateUncached()
com.oracle.truffle.api.dsl.ImportStatic(value = {Lcom/oracle/graal/python/runtime/PythonOptions;, Lcom/oracle/graal/python/nodes/PGuards;})