| Index: src/crankshaft/arm64/lithium-arm64.h
|
| diff --git a/src/crankshaft/arm64/lithium-arm64.h b/src/crankshaft/arm64/lithium-arm64.h
|
| index 1b627d13f85461e2c97caf500ba59a4575b4d135..3094289038a0b3806f6c2bdfac40859a84bf2fac 100644
|
| --- a/src/crankshaft/arm64/lithium-arm64.h
|
| +++ b/src/crankshaft/arm64/lithium-arm64.h
|
| @@ -64,6 +64,7 @@
|
| V(ConstantT) \
|
| V(ConstructDouble) \
|
| V(Context) \
|
| + V(DateField) \
|
| V(DebugBreak) \
|
| V(DeclareGlobals) \
|
| V(Deoptimize) \
|
| @@ -1242,6 +1243,23 @@
|
| };
|
|
|
|
|
| +class LDateField final : public LTemplateInstruction<1, 1, 0> {
|
| + public:
|
| + LDateField(LOperand* date, Smi* index) : index_(index) {
|
| + inputs_[0] = date;
|
| + }
|
| +
|
| + LOperand* date() { return inputs_[0]; }
|
| + Smi* index() const { return index_; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field")
|
| + DECLARE_HYDROGEN_ACCESSOR(DateField)
|
| +
|
| + private:
|
| + Smi* index_;
|
| +};
|
| +
|
| +
|
| class LDebugBreak final : public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(DebugBreak, "break")
|
|
|