Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index fce5d681a95cc1afb133b91a4ae3b347ad66e9e2..f1720f444247d83635c84d00a99cf2457ee0022e 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -6202,14 +6202,7 @@ class HObjectAccess V8_FINAL { |
void PrintTo(StringStream* stream) const; |
inline bool Equals(HObjectAccess that) const { |
- return value_ == that.value_; |
- } |
- |
- // Returns true if |this| access refers to the same field as |that|, which |
- // means that both have same |offset| and |portion| values. |
- inline bool SameField(HObjectAccess that) const { |
- uint32_t mask = PortionField::kMask | OffsetField::kMask; |
- return (value_ & mask) == (that.value_ & mask); |
+ return value_ == that.value_; // portion and offset must match |
} |
protected: |