We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 957519b commit fb22b50Copy full SHA for fb22b50
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/PythonBuiltinClassType.java
@@ -276,6 +276,11 @@ public final Shape getInstanceShape(PythonLanguage lang) {
276
return lang.getBuiltinTypeInstanceShape(this);
277
}
278
279
+ public final Shape getInstanceShape() {
280
+ CompilerDirectives.bailout("slow path operation");
281
+ return PythonLanguage.getCurrent().getBuiltinTypeInstanceShape(this);
282
+ }
283
+
284
@CompilationFinal(dimensions = 1) public static final PythonBuiltinClassType[] VALUES = Arrays.copyOf(values(), values().length - 1);
285
@CompilationFinal(dimensions = 1) public static final PythonBuiltinClassType[] EXCEPTIONS;
286
0 commit comments