Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index bef46df4ec53b5f6b78b0bccaf6781a64a05b1fc..4ae9c5f448ea71350f89fee212d5346fe0362d21 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -945,6 +945,11 @@ class HValue : public ZoneObject { |
return type().ToStringOrToNumberCanBeObserved(representation()); |
} |
+ MinusZeroMode GetMinusZeroMode() { |
+ return CheckFlag(kBailoutOnMinusZero) |
+ ? FAIL_ON_MINUS_ZERO : TREAT_MINUS_ZERO_AS_ZERO; |
+ } |
+ |
protected: |
// This function must be overridden for instructions with flag kUseGVN, to |
// compare the non-Operand parts of the instruction. |