Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 5f98ee40065187b977f7eb365065c503a9b3415c..25ba16232aa5a7b70f19e86756bcd5809a590e58 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -4685,7 +4685,7 @@ void LCodeGen::DoSmiUntag(LSmiUntag* instr) { |
void LCodeGen::EmitNumberUntagD(Register input_reg, |
DoubleRegister result_reg, |
- bool deoptimize_on_undefined, |
+ bool allow_undefined_as_nan, |
bool deoptimize_on_minus_zero, |
LEnvironment* env, |
NumberUntagDMode mode) { |
@@ -4702,7 +4702,7 @@ void LCodeGen::EmitNumberUntagD(Register input_reg, |
// Heap number map check. |
__ lw(scratch, FieldMemOperand(input_reg, HeapObject::kMapOffset)); |
__ LoadRoot(at, Heap::kHeapNumberMapRootIndex); |
- if (deoptimize_on_undefined) { |
+ if (!allow_undefined_as_nan) { |
DeoptimizeIf(ne, env, scratch, Operand(at)); |
} else { |
Label heap_number, convert; |
@@ -4875,7 +4875,7 @@ void LCodeGen::DoNumberUntagD(LNumberUntagD* instr) { |
} |
EmitNumberUntagD(input_reg, result_reg, |
- instr->hydrogen()->deoptimize_on_undefined(), |
+ instr->hydrogen()->allow_undefined_as_nan(), |
instr->hydrogen()->deoptimize_on_minus_zero(), |
instr->environment(), |
mode); |