| Index: src/crankshaft/mips64/lithium-mips64.h
|
| diff --git a/src/crankshaft/mips64/lithium-mips64.h b/src/crankshaft/mips64/lithium-mips64.h
|
| index 01dc234c5af6b51788def8288049e3120e5c4bfc..a5a3c8ea8335dbf95201ca82df072cf03492fe65 100644
|
| --- a/src/crankshaft/mips64/lithium-mips64.h
|
| +++ b/src/crankshaft/mips64/lithium-mips64.h
|
| @@ -62,6 +62,7 @@
|
| V(ConstantT) \
|
| V(ConstructDouble) \
|
| V(Context) \
|
| + V(DateField) \
|
| V(DebugBreak) \
|
| V(DeclareGlobals) \
|
| V(Deoptimize) \
|
| @@ -1368,6 +1369,25 @@
|
| };
|
|
|
|
|
| +class LDateField final : public LTemplateInstruction<1, 1, 1> {
|
| + public:
|
| + LDateField(LOperand* date, LOperand* temp, Smi* index) : index_(index) {
|
| + inputs_[0] = date;
|
| + temps_[0] = temp;
|
| + }
|
| +
|
| + LOperand* date() { return inputs_[0]; }
|
| + LOperand* temp() { return temps_[0]; }
|
| + Smi* index() const { return index_; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field")
|
| + DECLARE_HYDROGEN_ACCESSOR(DateField)
|
| +
|
| + private:
|
| + Smi* index_;
|
| +};
|
| +
|
| +
|
| class LSeqStringGetChar final : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LSeqStringGetChar(LOperand* string, LOperand* index) {
|
|
|