@@ -234,31 +234,31 @@ PNone initFallback(Object self, Object cls, Object obj) {
234
234
private IsSubtypeNode getIsSubtype () {
235
235
if (isSubtypeNode == null ) {
236
236
CompilerDirectives .transferToInterpreterAndInvalidate ();
237
- isSubtypeNode = IsSubtypeNode .create ();
237
+ isSubtypeNode = insert ( IsSubtypeNode .create () );
238
238
}
239
239
return isSubtypeNode ;
240
240
}
241
241
242
242
private IsInstanceNode getIsInstance () {
243
243
if (isInstanceNode == null ) {
244
244
CompilerDirectives .transferToInterpreterAndInvalidate ();
245
- isInstanceNode = IsInstanceNode .create ();
245
+ isInstanceNode = insert ( IsInstanceNode .create () );
246
246
}
247
247
return isInstanceNode ;
248
248
}
249
249
250
250
private GetClassNode getGetClass () {
251
251
if (getClassNode == null ) {
252
252
CompilerDirectives .transferToInterpreterAndInvalidate ();
253
- getClassNode = GetClassNode .create ();
253
+ getClassNode = insert ( GetClassNode .create () );
254
254
}
255
255
return getClassNode ;
256
256
}
257
257
258
258
private LookupAndCallBinaryNode getGetAttr () {
259
259
if (getAttrNode == null ) {
260
260
CompilerDirectives .transferToInterpreterAndInvalidate ();
261
- getAttrNode = LookupAndCallBinaryNode .create (SpecialMethodNames .__GETATTRIBUTE__ );
261
+ getAttrNode = insert ( LookupAndCallBinaryNode .create (SpecialMethodNames .__GETATTRIBUTE__ ) );
262
262
}
263
263
return getAttrNode ;
264
264
}
@@ -317,7 +317,7 @@ public Object get(SuperObject self, Object obj, @SuppressWarnings("unused") Obje
317
317
} else {
318
318
if (superInit == null ) {
319
319
CompilerDirectives .transferToInterpreterAndInvalidate ();
320
- superInit = SuperInitNodeFactory .create ();
320
+ superInit = insert ( SuperInitNodeFactory .create () );
321
321
}
322
322
SuperObject newSuper = factory ().createSuperObject (self .getPythonClass ());
323
323
superInit .execute (null , newSuper , self .getType (), obj );
@@ -337,15 +337,15 @@ public abstract static class ReprNode extends PythonBinaryBuiltinNode {
337
337
private Object genericGetAttr (Object object , Object attr ) {
338
338
if (getAttr == null ) {
339
339
CompilerDirectives .transferToInterpreterAndInvalidate ();
340
- getAttr = LookupAndCallBinaryNode .create (SpecialMethodNames .__GETATTRIBUTE__ );
340
+ getAttr = insert ( LookupAndCallBinaryNode .create (SpecialMethodNames .__GETATTRIBUTE__ ) );
341
341
}
342
342
return getAttr .executeObject (object , attr );
343
343
}
344
344
345
345
private CallTernaryMethodNode getCallGet () {
346
346
if (callGet == null ) {
347
347
CompilerDirectives .transferToInterpreterAndInvalidate ();
348
- callGet = CallTernaryMethodNode .create ();
348
+ callGet = insert ( CallTernaryMethodNode .create () );
349
349
}
350
350
return callGet ;
351
351
}
0 commit comments