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:
parent
b8f0b88b54
commit
c52e397db6
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user