Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 09f0b0d7290f02b07ae762bd64f93db39f014c1d..be64b2fcbee07597aa0e1a64c2cd3d9379ea8891 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -1238,13 +1238,13 @@ class LLoadKeyedFastElement: public LTemplateInstruction<1, 2, 0> { |
LOperand* elements() { return inputs_[0]; } |
LOperand* key() { return inputs_[1]; } |
+ uint32_t additional_index() const { return hydrogen()->index_offset(); } |
}; |
class LLoadKeyedFastDoubleElement: public LTemplateInstruction<1, 2, 0> { |
public: |
- LLoadKeyedFastDoubleElement(LOperand* elements, |
- LOperand* key) { |
+ LLoadKeyedFastDoubleElement(LOperand* elements, LOperand* key) { |
inputs_[0] = elements; |
inputs_[1] = key; |
} |
@@ -1255,13 +1255,13 @@ class LLoadKeyedFastDoubleElement: public LTemplateInstruction<1, 2, 0> { |
LOperand* elements() { return inputs_[0]; } |
LOperand* key() { return inputs_[1]; } |
+ uint32_t additional_index() const { return hydrogen()->index_offset(); } |
}; |
class LLoadKeyedSpecializedArrayElement: public LTemplateInstruction<1, 2, 0> { |
public: |
- LLoadKeyedSpecializedArrayElement(LOperand* external_pointer, |
- LOperand* key) { |
+ LLoadKeyedSpecializedArrayElement(LOperand* external_pointer, LOperand* key) { |
inputs_[0] = external_pointer; |
inputs_[1] = key; |
} |
@@ -1275,6 +1275,7 @@ class LLoadKeyedSpecializedArrayElement: public LTemplateInstruction<1, 2, 0> { |
ElementsKind elements_kind() const { |
return hydrogen()->elements_kind(); |
} |
+ uint32_t additional_index() const { return hydrogen()->index_offset(); } |
}; |
@@ -1775,6 +1776,7 @@ class LStoreKeyedFastElement: public LTemplateInstruction<0, 3, 0> { |
LOperand* object() { return inputs_[0]; } |
LOperand* key() { return inputs_[1]; } |
LOperand* value() { return inputs_[2]; } |
+ uint32_t additional_index() const { return hydrogen()->index_offset(); } |
}; |
@@ -1797,6 +1799,7 @@ class LStoreKeyedFastDoubleElement: public LTemplateInstruction<0, 3, 0> { |
LOperand* elements() { return inputs_[0]; } |
LOperand* key() { return inputs_[1]; } |
LOperand* value() { return inputs_[2]; } |
+ uint32_t additional_index() const { return hydrogen()->index_offset(); } |
bool NeedsCanonicalization() { return hydrogen()->NeedsCanonicalization(); } |
}; |
@@ -1822,6 +1825,7 @@ class LStoreKeyedSpecializedArrayElement: public LTemplateInstruction<0, 3, 0> { |
ElementsKind elements_kind() const { |
return hydrogen()->elements_kind(); |
} |
+ uint32_t additional_index() const { return hydrogen()->index_offset(); } |
}; |