Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 23acd27e23b01846ba8ad9cc23077f0e0aec4d00..dc26626491f3c2bc819c5a9c85d9dab8a5b79a42 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -156,6 +156,7 @@ class LCodeGen; |
V(PushArgument) \ |
V(RegExpLiteral) \ |
V(Return) \ |
+ V(SeqStringGetChar) \ |
V(SeqStringSetChar) \ |
V(ShiftI) \ |
V(SmiTag) \ |
@@ -1337,6 +1338,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, |