Skip to content

Commit 9c66ad8

Browse files
committed
Fix Truffle DSL warning and style
1 parent 0ddd814 commit 9c66ad8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/common/HashingStorageNodes.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,8 @@ static Object domStringKey(Frame frame, Node inliningTarget, DynamicObjectStorag
542542
@Cached PyUnicodeCheckExactNode isBuiltinString,
543543
@Cached CastBuiltinStringToTruffleStringNode castStr,
544544
@Exclusive @Cached PyObjectHashNode hashNode,
545-
@Cached DynamicObject.GetNode getNode,
546-
@Cached DynamicObject.PutNode putNode) {
545+
@Cached DynamicObject.GetNode getNode,
546+
@Cached DynamicObject.PutNode putNode) {
547547
if (!isBuiltinString.execute(inliningTarget, keyObj)) {
548548
// Just for the potential side effects
549549
hashNode.execute(frame, inliningTarget, keyObj);

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/attributes/WriteAttributeToObjectNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ static boolean writeToDynamicStoragePythonClass(PythonClass klass, TruffleString
135135
@Bind Node inliningTarget,
136136
@SuppressWarnings("unused") @Shared("getDict") @Cached GetDictIfExistsNode getDict,
137137
@Exclusive @Cached InlinedBranchProfile updateFlags,
138-
@Shared @Cached DynamicObject.PutNode putNode,
138+
@Cached DynamicObject.PutNode putNode,
139139
@Cached DynamicObject.GetShapeFlagsNode getShapeFlagsNode,
140140
@Cached DynamicObject.SetShapeFlagsNode setShapeFlagsNode) {
141141
if (value == PNone.NO_VALUE) {

0 commit comments

Comments
 (0)