Skip to content

Commit d3fb002

Browse files
committed
[GR-26640] Remove slow-path method
1 parent 3de86d0 commit d3fb002

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/PythonBuiltinClassType.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,6 @@ public final Shape getInstanceShape(PythonLanguage lang) {
281281
return lang.getBuiltinTypeInstanceShape(this);
282282
}
283283

284-
public final Shape getInstanceShape() {
285-
CompilerDirectives.bailout("slow path operation");
286-
return PythonLanguage.getCurrent().getBuiltinTypeInstanceShape(this);
287-
}
288-
289284
@CompilationFinal(dimensions = 1) public static final PythonBuiltinClassType[] VALUES = Arrays.copyOf(values(), values().length - 1);
290285
@CompilationFinal(dimensions = 1) public static final PythonBuiltinClassType[] EXCEPTIONS;
291286

0 commit comments

Comments
 (0)