| Index: src/crankshaft/x87/lithium-x87.h
|
| diff --git a/src/crankshaft/x87/lithium-x87.h b/src/crankshaft/x87/lithium-x87.h
|
| index e033902617cd40cc01ba6a80276e38acd02200b6..3562e3ff9fb5d3c19ba917b866916f7638c6ca04 100644
|
| --- a/src/crankshaft/x87/lithium-x87.h
|
| +++ b/src/crankshaft/x87/lithium-x87.h
|
| @@ -65,6 +65,7 @@
|
| V(ConstantT) \
|
| V(ConstructDouble) \
|
| V(Context) \
|
| + V(DateField) \
|
| V(DebugBreak) \
|
| V(DeclareGlobals) \
|
| V(Deoptimize) \
|
| @@ -1356,6 +1357,27 @@
|
| };
|
|
|
|
|
| +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]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field")
|
| + DECLARE_HYDROGEN_ACCESSOR(DateField)
|
| +
|
| + Smi* index() const { return index_; }
|
| +
|
| + private:
|
| + Smi* index_;
|
| +};
|
| +
|
| +
|
| class LSeqStringGetChar final : public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LSeqStringGetChar(LOperand* string, LOperand* index) {
|
|
|