Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index c38b2485bd006ed813f3a4d3797cbcfd734e51de..866b367949f2d56be149e6ef3f3266fa9da711ee 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -655,6 +655,10 @@ class HValue : public ZoneObject { |
HYDROGEN_ABSTRACT_INSTRUCTION_LIST(DECLARE_PREDICATE) |
#undef DECLARE_PREDICATE |
+ bool IsBitwiseBinaryShift() { |
+ return IsShl() || IsShr() || IsSar(); |
+ } |
+ |
HValue(HType type = HType::Tagged()) |
: block_(NULL), |
id_(kNoNumber), |