Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index abffe50b190d0f813b3bcd618d25fb466d125675..80963d02e0a7552aec96997f1d137cddb3ec05d3 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -146,6 +146,7 @@ class LCodeGen; |
V(StoreKeyedGeneric) \ |
V(StoreNamedField) \ |
V(StoreNamedGeneric) \ |
+ V(StorePixelArrayElement) \ |
V(StringLength) \ |
V(SubI) \ |
V(TaggedToI) \ |
@@ -1542,6 +1543,26 @@ class LStoreKeyedFastElement: public LStoreKeyed { |
}; |
+class LStorePixelArrayElement: public LTemplateInstruction<0, 3, 0> { |
+ public: |
+ LStorePixelArrayElement(LOperand* external_pointer, |
+ LOperand* key, |
+ LOperand* val) { |
+ inputs_[0] = external_pointer; |
+ inputs_[1] = key; |
+ inputs_[2] = val; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(StorePixelArrayElement, |
+ "store-pixel-array-element") |
+ DECLARE_HYDROGEN_ACCESSOR(StorePixelArrayElement) |
+ |
+ LOperand* external_pointer() { return inputs_[0]; } |
+ LOperand* key() { return inputs_[1]; } |
+ LOperand* value() { return inputs_[2]; } |
+}; |
+ |
+ |
class LStoreKeyedGeneric: public LStoreKeyed { |
public: |
LStoreKeyedGeneric(LOperand* obj, LOperand* key, LOperand* val) |