Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 31a1e624ec19a4c42071ba90c9f6a7a6521768e2..8b34c20c5d154992e6b07259c28d0aeaa94cd720 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -1577,6 +1577,9 @@ class LLoadKeyed V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
bool is_external() const { |
return hydrogen()->is_external(); |
} |
+ bool is_fixed_typed_array() const { |
+ return hydrogen()->is_fixed_typed_array(); |
+ } |
DECLARE_CONCRETE_INSTRUCTION(LoadKeyed, "load-keyed") |
DECLARE_HYDROGEN_ACCESSOR(LoadKeyed) |
@@ -1598,7 +1601,10 @@ inline static bool ExternalArrayOpRequiresTemp( |
return key_representation.IsSmi() && |
(elements_kind == EXTERNAL_BYTE_ELEMENTS || |
elements_kind == EXTERNAL_UNSIGNED_BYTE_ELEMENTS || |
- elements_kind == EXTERNAL_PIXEL_ELEMENTS); |
+ elements_kind == EXTERNAL_PIXEL_ELEMENTS || |
+ elements_kind == UINT8_ELEMENTS || |
+ elements_kind == INT8_ELEMENTS || |
+ elements_kind == UINT8_CLAMPED_ELEMENTS); |
} |
@@ -2256,6 +2262,9 @@ class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> { |
} |
bool is_external() const { return hydrogen()->is_external(); } |
+ bool is_fixed_typed_array() const { |
+ return hydrogen()->is_fixed_typed_array(); |
+ } |
LOperand* elements() { return inputs_[0]; } |
LOperand* key() { return inputs_[1]; } |
LOperand* value() { return inputs_[2]; } |