Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 3827ab3299a429cbce41e634802ebf873543be73..7574e15329ce0302ea5f3fcb1945232e4535f36e 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -156,6 +156,7 @@ class LCodeGen; |
V(Random) \ |
V(RegExpLiteral) \ |
V(Return) \ |
+ V(SeqStringGetChar) \ |
V(SeqStringSetChar) \ |
V(ShiftI) \ |
V(SmiTag) \ |
@@ -1360,6 +1361,21 @@ class LDateField V8_FINAL : public LTemplateInstruction<1, 1, 1> { |
}; |
+class LSeqStringGetChar V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
+ public: |
+ LSeqStringGetChar(LOperand* string, LOperand* index) { |
+ inputs_[0] = string; |
+ inputs_[1] = index; |
+ } |
+ |
+ LOperand* string() const { return inputs_[0]; } |
+ LOperand* index() const { return inputs_[1]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(SeqStringGetChar, "seq-string-get-char") |
+ DECLARE_HYDROGEN_ACCESSOR(SeqStringGetChar) |
+}; |
+ |
+ |
class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> { |
public: |
LSeqStringSetChar(LOperand* string, |