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 5b7bd53 commit 8d97214Copy full SHA for 8d97214
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/function/builtins/WrapTpNew.java
@@ -121,8 +121,8 @@ public Object execute(VirtualFrame frame) {
121
// we're in. We have our optimizations for this lookup that the compiler can then
122
// (hopefully) merge with the initial lookup of the new method before entering it.
123
if (lookupNewNode == null) {
124
- reportPolymorphicSpecialize();
125
CompilerDirectives.transferToInterpreterAndInvalidate();
+ reportPolymorphicSpecialize();
126
lookupNewNode = insert(LookupAttributeInMRONode.createForLookupOfUnmanagedClasses(SpecialMethodNames.__NEW__));
127
}
128
Object newMethod = lookupNewNode.execute(arg0);
0 commit comments