Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 8a4fd15589b0216c1b68fc19a41201ffb8b402c6..ae19677fda3b5cac541c45e8470597f9c4856c4e 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.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) \ |
@@ -993,17 +992,17 @@ class LValueOf: public LTemplateInstruction<1, 1, 1> { |
class LDateField: public LTemplateInstruction<1, 1, 1> { |
public: |
- LDateField(LOperand* date, LOperand* temp, int index) : index_(index) { |
+ LDateField(LOperand* date, LOperand* temp, Smi* index) : index_(index) { |
inputs_[0] = date; |
temps_[0] = temp; |
} |
DECLARE_CONCRETE_INSTRUCTION(ValueOf, "date-field") |
DECLARE_HYDROGEN_ACCESSOR(ValueOf) |
- int index() const { return index_; } |
+ Smi* index() const { return index_; } |
private: |
- int index_; |
+ Smi* index_; |
}; |