Index: src/builtins/builtins-string.cc |
diff --git a/src/builtins/builtins-string.cc b/src/builtins/builtins-string.cc |
index c9c0a2985044a729efe2851205fcf71d39edd922..6b14e2510b773ea5f5004334041e174b043e3846 100644 |
--- a/src/builtins/builtins-string.cc |
+++ b/src/builtins/builtins-string.cc |
@@ -292,8 +292,8 @@ void GenerateStringRelationalComparison(CodeStubAssembler* assembler, |
assembler->Goto(&loop); |
assembler->Bind(&if_valueisnotsame); |
- assembler->BranchIf(assembler->Uint32LessThan(lhs_value, rhs_value), |
- &if_less, &if_greater); |
+ assembler->Branch(assembler->Uint32LessThan(lhs_value, rhs_value), |
+ &if_less, &if_greater); |
} |
assembler->Bind(&if_done); |