Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 0c802e1a3bd7a7b2834a6dfbb244cf0fd89ca811..e697b22f14bbbb2c268aca64f116ae58f049c392 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -1853,8 +1853,8 @@ void GenerateStringRelationalComparison(compiler::CodeStubAssembler* assembler, |
assembler->Goto(&loop); |
assembler->Bind(&if_valueisnotsame); |
- assembler->BranchIfInt32LessThan(lhs_value, rhs_value, &if_less, |
- &if_greater); |
+ assembler->BranchIf(assembler->Uint32LessThan(lhs_value, rhs_value), |
+ &if_less, &if_greater); |
} |
assembler->Bind(&if_done); |