| Index: src/x64/lithium-x64.h
|
| diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h
|
| index d2ac322f720e6a63136ee24511d94f532977fd64..3d5d8548cba14421833fa004202c4cad22d4ffc4 100644
|
| --- a/src/x64/lithium-x64.h
|
| +++ b/src/x64/lithium-x64.h
|
| @@ -178,8 +178,7 @@ class LCodeGen;
|
| V(ForInCacheArray) \
|
| V(CheckMapValue) \
|
| V(LoadFieldByIndex) \
|
| - V(DateField) \
|
| - V(SetDateField)
|
| + V(DateField)
|
|
|
|
|
| #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
|
| @@ -991,34 +990,17 @@ class LValueOf: public LTemplateInstruction<1, 1, 0> {
|
|
|
| class LDateField: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| - LDateField(LOperand* date, int index) : index_(index) {
|
| + LDateField(LOperand* date, Smi* index) : index_(index) {
|
| inputs_[0] = date;
|
| }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(ValueOf, "date-field")
|
| DECLARE_HYDROGEN_ACCESSOR(ValueOf)
|
|
|
| - int index() const { return index_; }
|
| + Smi* index() const { return index_; }
|
|
|
| private:
|
| - int index_;
|
| -};
|
| -
|
| -
|
| -class LSetDateField: public LTemplateInstruction<1, 2, 0> {
|
| - public:
|
| - LSetDateField(LOperand* date, LOperand* value, int index) : index_(index) {
|
| - inputs_[0] = date;
|
| - inputs_[1] = value;
|
| - }
|
| -
|
| - DECLARE_CONCRETE_INSTRUCTION(DateField, "date-set-field")
|
| - DECLARE_HYDROGEN_ACCESSOR(DateField)
|
| -
|
| - int index() const { return index_; }
|
| -
|
| - private:
|
| - int index_;
|
| + Smi* index_;
|
| };
|
|
|
|
|
|
|