Skip to content

Commit 18269a2

Browse files
author
Franziska Geiger
committed
Change add node guard
1 parent 2bec6aa commit 18269a2

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/str

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/str/StringBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ Object doSSSimple(PString self, String other) {
373373
return self;
374374
}
375375

376-
@Specialization(guards = "!concatGuard(self.getCharSequence(), self.getCharSequence())")
376+
@Specialization(guards = "!concatGuard(self.getCharSequence(), other.getCharSequence())")
377377
PString doSSSimple(PString self, PString other) {
378378
if (LazyString.length(self.getCharSequence(), leftProfile1, leftProfile2) == 0) {
379379
return other;

0 commit comments

Comments
 (0)