Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 6b60a6e40e3da4d9d50170b08dda492520ec9ad4..a0e54220113a166ad9b5eb8db75e1b6620458d23 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -1757,12 +1757,14 @@ class LStringAdd: public LTemplateInstruction<1, 3, 0> { |
}; |
-class LStringCharCodeAt: public LTemplateInstruction<1, 3, 0> { |
+class LStringCharCodeAt: public LTemplateInstruction<1, 3, 1> { |
public: |
- LStringCharCodeAt(LOperand* context, LOperand* string, LOperand* index) { |
+ LStringCharCodeAt(LOperand* context, LOperand* string, |
+ LOperand* index, LOperand* temp) { |
inputs_[0] = context; |
inputs_[1] = string; |
inputs_[2] = index; |
+ temps_[0] = temp; |
} |
DECLARE_CONCRETE_INSTRUCTION(StringCharCodeAt, "string-char-code-at") |