Index: src/compiler/effect-control-linearizer.cc |
diff --git a/src/compiler/effect-control-linearizer.cc b/src/compiler/effect-control-linearizer.cc |
index ca116b9751afe5fb9e4e865aed50b7c195620c94..0156067cce4e2724442ce8a95f579ffabac5066f 100644 |
--- a/src/compiler/effect-control-linearizer.cc |
+++ b/src/compiler/effect-control-linearizer.cc |
@@ -1818,8 +1818,7 @@ EffectControlLinearizer::BuildCheckedHeapNumberOrOddballToFloat64( |
graph()->NewNode(machine()->Word32Equal(), instance_type, |
jsgraph()->Int32Constant(ODDBALL_TYPE)); |
if_false = efalse = graph()->NewNode( |
- common()->DeoptimizeUnless( |
- DeoptimizeReason::kNotAHeapNumberUndefinedBoolean), |
+ common()->DeoptimizeUnless(DeoptimizeReason::kNotANumberOrOddball), |
check_oddball, frame_state, efalse, if_false); |
STATIC_ASSERT(HeapNumber::kValueOffset == Oddball::kToNumberRawOffset); |