| Index: src/ia32/lithium-ia32.h
|
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
|
| index 9bcc5f4991e632290d7492e96ab365df430663c9..9224dcba98292191043483e9b555f5007593f1fb 100644
|
| --- a/src/ia32/lithium-ia32.h
|
| +++ b/src/ia32/lithium-ia32.h
|
| @@ -1641,15 +1641,9 @@ class LLoadKeyed final : public LTemplateInstruction<1, 2, 0> {
|
| ElementsKind elements_kind() const {
|
| return hydrogen()->elements_kind();
|
| }
|
| - bool is_external() const {
|
| - return hydrogen()->is_external();
|
| - }
|
| bool is_fixed_typed_array() const {
|
| return hydrogen()->is_fixed_typed_array();
|
| }
|
| - bool is_typed_elements() const {
|
| - return is_external() || is_fixed_typed_array();
|
| - }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(LoadKeyed, "load-keyed")
|
| DECLARE_HYDROGEN_ACCESSOR(LoadKeyed)
|
| @@ -1669,12 +1663,8 @@ inline static bool ExternalArrayOpRequiresTemp(
|
| // an index cannot fold the scale operation into a load and need an extra
|
| // temp register to do the work.
|
| return key_representation.IsSmi() &&
|
| - (elements_kind == EXTERNAL_INT8_ELEMENTS ||
|
| - elements_kind == EXTERNAL_UINT8_ELEMENTS ||
|
| - elements_kind == EXTERNAL_UINT8_CLAMPED_ELEMENTS ||
|
| - elements_kind == UINT8_ELEMENTS ||
|
| - elements_kind == INT8_ELEMENTS ||
|
| - elements_kind == UINT8_CLAMPED_ELEMENTS);
|
| + (elements_kind == UINT8_ELEMENTS || elements_kind == INT8_ELEMENTS ||
|
| + elements_kind == UINT8_CLAMPED_ELEMENTS);
|
| }
|
|
|
|
|
| @@ -2257,13 +2247,9 @@ class LStoreKeyed final : public LTemplateInstruction<0, 3, 0> {
|
| inputs_[2] = val;
|
| }
|
|
|
| - bool is_external() const { return hydrogen()->is_external(); }
|
| bool is_fixed_typed_array() const {
|
| return hydrogen()->is_fixed_typed_array();
|
| }
|
| - bool is_typed_elements() const {
|
| - return is_external() || is_fixed_typed_array();
|
| - }
|
| LOperand* elements() { return inputs_[0]; }
|
| LOperand* key() { return inputs_[1]; }
|
| LOperand* value() { return inputs_[2]; }
|
|
|