File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public boolean isNative() {
77
77
}
78
78
79
79
static boolean isInstance (TruffleObject o ) {
80
- return o instanceof PythonObjectNativeWrapper || o instanceof TruffleObjectNativeWrapper ;
80
+ return o instanceof DynamicObjectNativeWrapper || o instanceof TruffleObjectNativeWrapper ;
81
81
}
82
82
83
83
@ Override
@@ -120,10 +120,6 @@ public PythonAbstractObject getPythonObject() {
120
120
return pythonObject ;
121
121
}
122
122
123
- public static boolean isInstance (TruffleObject o ) {
124
- return o instanceof PythonObjectNativeWrapper ;
125
- }
126
-
127
123
public static PythonObjectNativeWrapper wrap (PythonAbstractObject obj , ConditionProfile noWrapperProfile ) {
128
124
// important: native wrappers are cached
129
125
PythonObjectNativeWrapper nativeWrapper = obj .getNativeWrapper ();
@@ -146,7 +142,7 @@ public String toString() {
146
142
}
147
143
}
148
144
149
- abstract static class PrimitiveNativeWrapper extends DynamicObjectNativeWrapper {
145
+ public abstract static class PrimitiveNativeWrapper extends DynamicObjectNativeWrapper {
150
146
151
147
private PythonObject materializedObject ;
152
148
You can’t perform that action at this time.
0 commit comments