Adding missing SetCC before conditional branch.
BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9950015 Patch from Rodolph Perfetta <rodolph.perfetta@gmail.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11212 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
1d9cebd002
commit
f3348e9745
@ -3653,7 +3653,7 @@ void FullCodeGenerator::EmitFastAsciiArrayJoin(CallRuntime* expr) {
|
||||
__ ldrb(scratch1, FieldMemOperand(scratch1, Map::kInstanceTypeOffset));
|
||||
__ JumpIfInstanceTypeIsNotSequentialAscii(scratch1, scratch2, &bailout);
|
||||
__ ldr(scratch1, FieldMemOperand(string, SeqAsciiString::kLengthOffset));
|
||||
__ add(string_length, string_length, Operand(scratch1));
|
||||
__ add(string_length, string_length, Operand(scratch1), SetCC);
|
||||
__ b(vs, &bailout);
|
||||
__ cmp(element, elements_end);
|
||||
__ b(lt, &loop);
|
||||
@ -3690,7 +3690,7 @@ void FullCodeGenerator::EmitFastAsciiArrayJoin(CallRuntime* expr) {
|
||||
__ b(ne, &bailout);
|
||||
__ tst(scratch2, Operand(0x80000000));
|
||||
__ b(ne, &bailout);
|
||||
__ add(string_length, string_length, Operand(scratch2));
|
||||
__ add(string_length, string_length, Operand(scratch2), SetCC);
|
||||
__ b(vs, &bailout);
|
||||
__ SmiUntag(string_length);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user