| Index: src/ia32/lithium-ia32.h
|
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
|
| index 0daab5f9dcbd3a6b227c409385334c13fbc6a80e..6b60a6e40e3da4d9d50170b08dda492520ec9ad4 100644
|
| --- a/src/ia32/lithium-ia32.h
|
| +++ b/src/ia32/lithium-ia32.h
|
| @@ -116,6 +116,7 @@ class LCodeGen;
|
| V(LoadGlobalCell) \
|
| V(LoadGlobalGeneric) \
|
| V(LoadKeyedFastElement) \
|
| + V(LoadKeyedFastDoubleElement) \
|
| V(LoadKeyedGeneric) \
|
| V(LoadKeyedSpecializedArrayElement) \
|
| V(LoadNamedField) \
|
| @@ -141,6 +142,7 @@ class LCodeGen;
|
| V(StoreContextSlot) \
|
| V(StoreGlobalCell) \
|
| V(StoreGlobalGeneric) \
|
| + V(StoreKeyedFastDoubleElement) \
|
| V(StoreKeyedFastElement) \
|
| V(StoreKeyedGeneric) \
|
| V(StoreKeyedSpecializedArrayElement) \
|
| @@ -1161,6 +1163,23 @@ 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,
|
| @@ -1651,6 +1670,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,
|
|
|