Skip to content

Commit 441d677

Browse files
committed
Workaround Truffle DSL bug in PythonAbstractObject
1 parent 24853d5 commit 441d677

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/PythonAbstractObject.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public void writeMember(String key, Object value,
218218
@Bind("$node") Node inliningTarget,
219219
@Shared("js2ts") @Cached TruffleString.FromJavaStringNode fromJavaStringNode,
220220
@Cached PInteropSetAttributeNode setAttributeNode,
221-
@Shared("attributeErrorProfile") @Cached IsBuiltinObjectProfile attrErrorProfile,
221+
/* @Shared("attributeErrorProfile") */ @Cached IsBuiltinObjectProfile attrErrorProfile,
222222
@Exclusive @Cached GilNode gil) throws UnsupportedMessageException, UnknownIdentifierException {
223223
boolean mustRelease = gil.acquire();
224224
try {
@@ -498,7 +498,7 @@ public Object invokeMember(String member, Object[] arguments,
498498
@Exclusive @Cached PExecuteNode executeNode,
499499
@Exclusive @Cached ConditionProfile profileGetattribute,
500500
@Exclusive @Cached ConditionProfile profileMember,
501-
@Shared("attributeErrorProfile") @Cached IsBuiltinObjectProfile attributeErrorProfile,
501+
/* @Shared("attributeErrorProfile") */ @Cached IsBuiltinObjectProfile attributeErrorProfile,
502502
@Exclusive @Cached GilNode gil)
503503
throws UnknownIdentifierException, UnsupportedMessageException {
504504
boolean mustRelease = gil.acquire();
@@ -605,7 +605,7 @@ public Object getMembers(boolean includeInternal,
605605
public void removeMember(String member,
606606
@Bind("$node") Node inliningTarget,
607607
@Cached PInteropDeleteAttributeNode deleteAttributeNode,
608-
@Shared("attributeErrorProfile") @Cached IsBuiltinObjectProfile attrErrorProfile,
608+
/* @Shared("attributeErrorProfile") */ @Cached IsBuiltinObjectProfile attrErrorProfile,
609609
@Exclusive @Cached GilNode gil) throws UnsupportedMessageException, UnknownIdentifierException {
610610
boolean mustRelease = gil.acquire();
611611
try {

0 commit comments

Comments
 (0)