Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 807a65102940649f0cd132a30b2cef254810323f..3264f40b21507e9d2344fdf020d96f2fe3c8268d 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -2635,7 +2635,12 @@ class HUnaryMathOperation final : public HTemplateInstruction<2> { |
SetFlag(kAllowUndefinedAsNaN); |
} |
- bool IsDeletable() const override { return true; } |
+ bool IsDeletable() const override { |
+ // TODO(crankshaft): This should be true, however the semantics of this |
+ // instruction also include the ToNumber conversion that is mentioned in the |
+ // spec, which is of course observable. |
+ return false; |
+ } |
HValue* SimplifiedDividendForMathFloorOfDiv(HDiv* hdiv); |
HValue* SimplifiedDivisorForMathFloorOfDiv(HDiv* hdiv); |