Reviewers: Lasse Reichstein,

Description:
Fix presubmit.

[email protected]

Please review this at http://codereview.chromium.org/6532055/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/ia32/lithium-codegen-ia32.cc
  M src/x64/lithium-codegen-x64.cc


Index: src/ia32/lithium-codegen-ia32.cc
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc index 2bf9395a840b8908749ca67ce383e1804f5fa984..d85c4761de64c95d32bd491ad71bb994fd52f8b0 100644
--- a/src/ia32/lithium-codegen-ia32.cc
+++ b/src/ia32/lithium-codegen-ia32.cc
@@ -2871,7 +2871,7 @@ void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) {
   if (instr->index()->IsConstantOperand()) {
     __ movzx_w(result,
                FieldOperand(string,
-                            SeqTwoByteString::kHeaderSize +
+                            SeqTwoByteString::kHeaderSize +
                             (kUC16Size * const_index)));
   } else {
     __ movzx_w(result, FieldOperand(string,
Index: src/x64/lithium-codegen-x64.cc
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
index 2eea10ad04b699e417dce4e8b88814bce5a7ab3c..e3563d265c68498c091dea91708e18c4e7dc63df 100644
--- a/src/x64/lithium-codegen-x64.cc
+++ b/src/x64/lithium-codegen-x64.cc
@@ -2387,7 +2387,7 @@ void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) {
   if (instr->index()->IsConstantOperand()) {
     __ movzxwl(result,
                FieldOperand(string,
-                            SeqTwoByteString::kHeaderSize +
+                            SeqTwoByteString::kHeaderSize +
                             (kUC16Size * const_index)));
   } else {
     __ movzxwl(result, FieldOperand(string,


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to