Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index a04b42961adff945edc337de9041e0d985fcaa1a..c7dc7b763a4e2ebfc4b9e9e4451250fae0a0ada8 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -1201,6 +1201,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(); } |
}; |
@@ -1217,13 +1218,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; |
} |
@@ -1237,6 +1238,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(); } |
}; |
@@ -1705,6 +1707,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(); } |
}; |
@@ -1727,6 +1730,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(); } |
}; |
@@ -1771,6 +1775,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(); } |
}; |