Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index de4a622a81ca0f8e5e61fecdfe04a4e25dc4e074..dd41bfbc77cbf8d8f10d21e63a71be4efaaf7af8 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -173,8 +173,7 @@ class LCodeGen; |
V(ForInCacheArray) \ |
V(CheckMapValue) \ |
V(LoadFieldByIndex) \ |
- V(DateField) \ |
- V(SetDateField) |
+ V(DateField) |
#define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \ |
@@ -1006,37 +1005,19 @@ class LValueOf: public LTemplateInstruction<1, 1, 1> { |
class LDateField: public LTemplateInstruction<1, 1, 1> { |
public: |
- LDateField(LOperand* date, LOperand* temp, int index) : index_(index) { |
- inputs_[0] = date; |
- temps_[0] = temp; |
- } |
- |
- DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field") |
- DECLARE_HYDROGEN_ACCESSOR(DateField) |
- |
- int index() const { return index_; } |
- |
- private: |
- int index_; |
-}; |
- |
- |
-class LSetDateField: public LTemplateInstruction<1, 2, 1> { |
- public: |
- LSetDateField(LOperand* date, LOperand* value, LOperand* temp, int index) |
+ LDateField(LOperand* date, LOperand* temp, Smi* index) |
: index_(index) { |
inputs_[0] = date; |
- inputs_[1] = value; |
temps_[0] = temp; |
} |
- DECLARE_CONCRETE_INSTRUCTION(DateField, "date-set-field") |
+ DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field") |
DECLARE_HYDROGEN_ACCESSOR(DateField) |
- int index() const { return index_; } |
+ Smi* index() const { return index_; } |
private: |
- int index_; |
+ Smi* index_; |
}; |