Skip to content

Commit d56be31

Browse files
committed
Add @InliningCutoff to del specializations
1 parent dc150f9 commit d56be31

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/type/slots/TpSlotDescrSet.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ static void callPythonSet(VirtualFrame frame, Node inliningTarget, TpSlotDescrSe
250250
}
251251

252252
@Specialization(guards = "isNoValue(value)")
253+
@InliningCutoff
253254
static void callPythonDel(VirtualFrame frame, Node inliningTarget, TpSlotDescrSetPython slot, Object self, Object obj, @SuppressWarnings("unused") Object value,
254255
@Cached BinaryPythonSlotDispatcherNode dispatcherNode,
255256
@Exclusive @Cached PRaiseNode.Lazy raiseNode) {

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/type/slots/TpSlotSetAttr.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ static void callPythonSimpleSet(VirtualFrame frame, Node inliningTarget, TpSlotS
329329
}
330330

331331
@Specialization(guards = "isNoValue(value)")
332+
@InliningCutoff
332333
static void callPythonSimpleDel(VirtualFrame frame, Node inliningTarget, TpSlotSetAttrPython slot, Object self, Object name, @SuppressWarnings("unused") Object value,
333334
@Exclusive @Cached PRaiseNode.Lazy raiseNode,
334335
@Cached BinaryPythonSlotDispatcherNode callPythonFun) {

0 commit comments

Comments
 (0)