Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Unified Diff: src/ia32/lithium-ia32.h

Issue 7477045: Tentative implementation of string slices (hidden under the flag --string-slices). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Patched RegExp for string slices. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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")

Powered by Google App Engine
This is Rietveld 408576698