Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 9083c1f8db9f9929bb80388f152d1576d9dc78ff..642a0a00385a94e730c7bba517f0466caa6bfc47 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -1199,6 +1199,7 @@ 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(); } |
}; |
@@ -1215,13 +1216,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; |
} |
@@ -1235,6 +1236,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(); } |
}; |
@@ -1692,6 +1694,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(); } |
}; |
@@ -1716,6 +1719,7 @@ class LStoreKeyedFastDoubleElement: public LTemplateInstruction<0, 3, 0> { |
LOperand* value() { return inputs_[2]; } |
bool NeedsCanonicalization() { return hydrogen()->NeedsCanonicalization(); } |
+ uint32_t additional_index() const { return hydrogen()->index_offset(); } |
}; |
@@ -1739,6 +1743,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(); } |
}; |