| Index: src/x64/lithium-x64.h
|
| diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h
|
| index af0b29991c5c98a7cd93c71478a83772358c55f0..12bdfb28aed4bb1966270cf28ef05c5433e91bf4 100644
|
| --- a/src/x64/lithium-x64.h
|
| +++ b/src/x64/lithium-x64.h
|
| @@ -121,6 +121,7 @@ class LCodeGen;
|
| V(LoadFunctionPrototype) \
|
| V(LoadGlobalCell) \
|
| V(LoadGlobalGeneric) \
|
| + V(LoadKeyedFastDoubleElement) \
|
| V(LoadKeyedFastElement) \
|
| V(LoadKeyedGeneric) \
|
| V(LoadKeyedSpecializedArrayElement) \
|
| @@ -147,6 +148,7 @@ class LCodeGen;
|
| V(StoreContextSlot) \
|
| V(StoreGlobalCell) \
|
| V(StoreGlobalGeneric) \
|
| + V(StoreKeyedFastDoubleElement) \
|
| V(StoreKeyedFastElement) \
|
| V(StoreKeyedGeneric) \
|
| V(StoreKeyedSpecializedArrayElement) \
|
| @@ -1134,6 +1136,22 @@ class LLoadKeyedFastElement: public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| +class LLoadKeyedFastDoubleElement: public LTemplateInstruction<1, 2, 0> {
|
| + public:
|
| + LLoadKeyedFastDoubleElement(LOperand* elements, LOperand* key) {
|
| + inputs_[0] = elements;
|
| + inputs_[1] = key;
|
| + }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastDoubleElement,
|
| + "load-keyed-fast-double-element")
|
| + DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastDoubleElement)
|
| +
|
| + LOperand* elements() { return inputs_[0]; }
|
| + LOperand* key() { return inputs_[1]; }
|
| +};
|
| +
|
| +
|
| class LLoadKeyedSpecializedArrayElement: public LTemplateInstruction<1, 2, 0> {
|
| public:
|
| LLoadKeyedSpecializedArrayElement(LOperand* external_pointer,
|
| @@ -1585,6 +1603,28 @@ class LStoreKeyedFastElement: public LTemplateInstruction<0, 3, 0> {
|
| };
|
|
|
|
|
| +class LStoreKeyedFastDoubleElement: public LTemplateInstruction<0, 3, 0> {
|
| + public:
|
| + LStoreKeyedFastDoubleElement(LOperand* elements,
|
| + LOperand* key,
|
| + LOperand* val) {
|
| + inputs_[0] = elements;
|
| + inputs_[1] = key;
|
| + inputs_[2] = val;
|
| + }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement,
|
| + "store-keyed-fast-double-element")
|
| + DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement)
|
| +
|
| + virtual void PrintDataTo(StringStream* stream);
|
| +
|
| + LOperand* elements() { return inputs_[0]; }
|
| + LOperand* key() { return inputs_[1]; }
|
| + LOperand* value() { return inputs_[2]; }
|
| +};
|
| +
|
| +
|
| class LStoreKeyedSpecializedArrayElement: public LTemplateInstruction<0, 3, 0> {
|
| public:
|
| LStoreKeyedSpecializedArrayElement(LOperand* external_pointer,
|
|
|