| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index 5a095b50c79e445d88c5bbdf87a39ee42594d20a..ed07229e17c54c294472200ed0b81c854c940290 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -105,7 +105,6 @@ class LCodeGen;
|
| V(InnerAllocatedObject) \
|
| V(InstanceOf) \
|
| V(InstanceOfKnownGlobal) \
|
| - V(InstanceSize) \
|
| V(InstructionGap) \
|
| V(Integer32ToDouble) \
|
| V(Integer32ToSmi) \
|
| @@ -185,6 +184,7 @@ class LCodeGen;
|
| V(Typeof) \
|
| V(TypeofIsAndBranch) \
|
| V(Uint32ToDouble) \
|
| + V(Uint32ToSmi) \
|
| V(UnknownOSRValue) \
|
| V(ValueOf) \
|
| V(WrapReceiver)
|
| @@ -216,7 +216,6 @@ class LInstruction : public ZoneObject {
|
| : environment_(NULL),
|
| hydrogen_value_(NULL),
|
| bit_field_(IsCallBits::encode(false)) {
|
| - set_position(RelocInfo::kNoPosition);
|
| }
|
|
|
| virtual ~LInstruction() {}
|
| @@ -257,15 +256,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_; }
|
|
|
| @@ -305,7 +295,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_;
|
| @@ -1148,19 +1137,6 @@ class LInstanceOfKnownGlobal V8_FINAL : public LTemplateInstruction<1, 2, 1> {
|
| };
|
|
|
|
|
| -class LInstanceSize V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| - public:
|
| - explicit LInstanceSize(LOperand* object) {
|
| - inputs_[0] = object;
|
| - }
|
| -
|
| - LOperand* object() { return inputs_[0]; }
|
| -
|
| - DECLARE_CONCRETE_INSTRUCTION(InstanceSize, "instance-size")
|
| - DECLARE_HYDROGEN_ACCESSOR(InstanceSize)
|
| -};
|
| -
|
| -
|
| class LBoundsCheck V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| public:
|
| LBoundsCheck(LOperand* index, LOperand* length) {
|
| @@ -2099,6 +2075,19 @@ class LUint32ToDouble V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| +class LUint32ToSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| + public:
|
| + explicit LUint32ToSmi(LOperand* value) {
|
| + inputs_[0] = value;
|
| + }
|
| +
|
| + LOperand* value() { return inputs_[0]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(Uint32ToSmi, "uint32-to-smi")
|
| + DECLARE_HYDROGEN_ACCESSOR(Change)
|
| +};
|
| +
|
| +
|
| class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LNumberTagI(LOperand* value) {
|
|
|