Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index e423b694b432ae0d9fb27f256db249a5c39db6df..1b8b5e5bfcfe107f1ecf4b635fbeb40904ce0fcc 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -1610,8 +1610,14 @@ |
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") |
@@ -2212,8 +2218,12 @@ |
inputs_[2] = value; |
} |
+ 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]; } |