| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 5c23e730f6ec6217300df0c608d1aafe380eb675..5733e51affcc643d1377c1012848ecf9f5761b1e 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -185,8 +185,7 @@ class LChunkBuilder;
|
| V(ForInCacheArray) \
|
| V(CheckMapValue) \
|
| V(LoadFieldByIndex) \
|
| - V(DateField) \
|
| - V(SetDateField)
|
| + V(DateField)
|
|
|
| #define GVN_FLAG_LIST(V) \
|
| V(Calls) \
|
| @@ -4606,11 +4605,12 @@ class HValueOf: public HUnaryOperation {
|
|
|
| class HDateField: public HUnaryOperation {
|
| public:
|
| - HDateField(HValue* date, int index) : HUnaryOperation(date), index_(index) {
|
| + HDateField(HValue* date, Smi* index)
|
| + : HUnaryOperation(date), index_(index) {
|
| set_representation(Representation::Tagged());
|
| }
|
|
|
| - int index() const { return index_; }
|
| + Smi* index() const { return index_; }
|
|
|
| virtual Representation RequiredInputRepresentation(int index) {
|
| return Representation::Tagged();
|
| @@ -4619,27 +4619,7 @@ class HDateField: public HUnaryOperation {
|
| DECLARE_CONCRETE_INSTRUCTION(DateField)
|
|
|
| private:
|
| - int index_;
|
| -};
|
| -
|
| -
|
| -class HSetDateField: public HBinaryOperation {
|
| - public:
|
| - HSetDateField(HValue* context, HValue* date, HValue* value, int index)
|
| - : HBinaryOperation(context, date, value), index_(index) {
|
| - set_representation(Representation::Tagged());
|
| - }
|
| -
|
| - int index() const { return index_; }
|
| -
|
| - virtual Representation RequiredInputRepresentation(int index) {
|
| - return Representation::Tagged();
|
| - }
|
| -
|
| - DECLARE_CONCRETE_INSTRUCTION(SetDateField)
|
| -
|
| - private:
|
| - int index_;
|
| + Smi* index_;
|
| };
|
|
|
|
|
|
|