Index: src/builtins/builtins-number.cc |
diff --git a/src/builtins/builtins-number.cc b/src/builtins/builtins-number.cc |
index 6cfc37b5602e400a8b17742b0b3c2f25df68abe2..f05b1eb60f364ad014c9c90b9c49c75297377b1e 100644 |
--- a/src/builtins/builtins-number.cc |
+++ b/src/builtins/builtins-number.cc |
@@ -68,9 +68,10 @@ void Builtins::Generate_NumberIsInteger(CodeStubAssembler* assembler) { |
Node* integer = assembler->Float64Trunc(number_value); |
// Check if {number}s value matches the integer (ruling out the infinities). |
- assembler->BranchIfFloat64Equal(assembler->Float64Sub(number_value, integer), |
- assembler->Float64Constant(0.0), &return_true, |
- &return_false); |
+ assembler->Branch( |
+ assembler->Float64Equal(assembler->Float64Sub(number_value, integer), |
+ assembler->Float64Constant(0.0)), |
+ &return_true, &return_false); |
assembler->Bind(&return_true); |
assembler->Return(assembler->BooleanConstant(true)); |
@@ -139,9 +140,10 @@ void Builtins::Generate_NumberIsSafeInteger(CodeStubAssembler* assembler) { |
&return_false); |
// Check if the {integer} value is in safe integer range. |
- assembler->BranchIfFloat64LessThanOrEqual( |
- assembler->Float64Abs(integer), |
- assembler->Float64Constant(kMaxSafeInteger), &return_true, &return_false); |
+ assembler->Branch(assembler->Float64LessThanOrEqual( |
+ assembler->Float64Abs(integer), |
+ assembler->Float64Constant(kMaxSafeInteger)), |
+ &return_true, &return_false); |
assembler->Bind(&return_true); |
assembler->Return(assembler->BooleanConstant(true)); |