Index: src/ppc/lithium-ppc.h |
diff --git a/src/ppc/lithium-ppc.h b/src/ppc/lithium-ppc.h |
index dbf980321e0a96e3c01e5f554e13184d810d0e53..f2426d0d550d0039135951c17b30eed3dac32fae 100644 |
--- a/src/ppc/lithium-ppc.h |
+++ b/src/ppc/lithium-ppc.h |
@@ -1587,8 +1587,12 @@ |
LOperand* elements() { return inputs_[0]; } |
LOperand* key() { return inputs_[1]; } |
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") |
@@ -2164,8 +2168,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]; } |