Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index 68f1de9bda1c3f3939a15e6ce773e3b87d033ea2..301be8fdf2c7054a13bb74e51e7b5841a98eed35 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -212,7 +212,6 @@ class LInstruction : public ZoneObject { |
: environment_(NULL), |
hydrogen_value_(NULL), |
bit_field_(IsCallBits::encode(false)) { |
- set_position(RelocInfo::kNoPosition); |
} |
virtual ~LInstruction() {} |
@@ -253,15 +252,6 @@ class LInstruction : public ZoneObject { |
LPointerMap* pointer_map() const { return pointer_map_.get(); } |
bool HasPointerMap() const { return pointer_map_.is_set(); } |
- // The 31 bits PositionBits is used to store the int position value. And the |
- // position value may be RelocInfo::kNoPosition (-1). The accessor always |
- // +1/-1 so that the encoded value of position in bit_field_ is always >= 0 |
- // and can fit into the 31 bits PositionBits. |
- void set_position(int pos) { |
- bit_field_ = PositionBits::update(bit_field_, pos + 1); |
- } |
- int position() { return PositionBits::decode(bit_field_) - 1; } |
- |
void set_hydrogen_value(HValue* value) { hydrogen_value_ = value; } |
HValue* hydrogen_value() const { return hydrogen_value_; } |
@@ -301,7 +291,6 @@ class LInstruction : public ZoneObject { |
virtual LOperand* TempAt(int i) = 0; |
class IsCallBits: public BitField<bool, 0, 1> {}; |
- class PositionBits: public BitField<int, 1, 31> {}; |
LEnvironment* environment_; |
SetOncePointer<LPointerMap> pointer_map_; |