| Index: src/ia32/lithium-ia32.h
|
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
|
| index f1b9ffc997bc7fb36feb13bd1e9870a7c9c75afd..2acd0c1309d802b1668956f4df547e83be6e1ca2 100644
|
| --- a/src/ia32/lithium-ia32.h
|
| +++ b/src/ia32/lithium-ia32.h
|
| @@ -150,6 +150,7 @@ class LCodeGen;
|
| V(StoreKeyedGeneric) \
|
| V(StoreNamedField) \
|
| V(StoreNamedGeneric) \
|
| + V(StorePixelArrayElement) \
|
| V(StringCharCodeAt) \
|
| V(StringLength) \
|
| V(SubI) \
|
| @@ -1662,6 +1663,28 @@ class LStoreKeyedFastElement: public LStoreKeyed {
|
| };
|
|
|
|
|
| +class LStorePixelArrayElement: public LTemplateInstruction<0, 3, 1> {
|
| + public:
|
| + LStorePixelArrayElement(LOperand* external_pointer,
|
| + LOperand* key,
|
| + LOperand* val,
|
| + LOperand* clamped) {
|
| + inputs_[0] = external_pointer;
|
| + inputs_[1] = key;
|
| + inputs_[2] = val;
|
| + temps_[0] = clamped;
|
| + }
|
| +
|
| + 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 LTemplateInstruction<0, 4, 0> {
|
| public:
|
| LStoreKeyedGeneric(LOperand* context,
|
|
|