Fix presubmit.

TBR=lrn@chromium.org

Review URL: http://codereview.chromium.org/6532055

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6854 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ager@chromium.org 2011-02-18 14:10:42 +00:00
parent b8f0b88b54
commit c52e397db6
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,