File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 25
25
*/
26
26
package com .oracle .graal .python .nodes .frame ;
27
27
28
- import com .oracle .graal .python .builtins .PythonBuiltinClassType ;
29
- import com .oracle .graal .python .builtins .objects .ints .PInt ;
30
28
import com .oracle .graal .python .nodes .expression .ExpressionNode ;
31
- import com .oracle .graal .python .nodes .object .IsBuiltinClassProfile ;
32
29
import com .oracle .truffle .api .CompilerDirectives ;
33
30
import com .oracle .truffle .api .frame .Frame ;
34
31
import com .oracle .truffle .api .frame .FrameSlot ;
35
32
import com .oracle .truffle .api .frame .FrameSlotKind ;
36
33
import com .oracle .truffle .api .frame .FrameUtil ;
37
34
38
35
public abstract class FrameSlotNode extends ExpressionNode {
39
- @ Child private IsBuiltinClassProfile isPrimitiveIntProfile = IsBuiltinClassProfile .create ();
40
-
41
- protected boolean isPrimitiveInt (PInt value ) {
42
- return isPrimitiveIntProfile .profileObject (value , PythonBuiltinClassType .PInt );
43
- }
44
36
45
37
protected final FrameSlot frameSlot ;
46
38
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public final class IsBuiltinClassProfile extends Node {
58
58
@ CompilationFinal private boolean noMatch ;
59
59
@ CompilationFinal private boolean adoptable ;
60
60
61
- @ Child private PythonObjectLibrary lib = PythonObjectLibrary . getFactory (). createDispatched ( 3 ) ;
61
+ @ Child private PythonObjectLibrary lib ;
62
62
63
63
private static final IsBuiltinClassProfile UNCACHED = new IsBuiltinClassProfile (false );
64
64
You can’t perform that action at this time.
0 commit comments