Fixed wrong cmov operand order
TBR=erik.corry@gmail.com Review URL: http://codereview.chromium.org/518082 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3572 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
1670dce1bf
commit
8c2620112c
@ -9653,7 +9653,7 @@ void StringCompareStub::GenerateCompareFlatAsciiStrings(MacroAssembler* masm,
|
||||
__ cmp(counter, Operand(scratch1));
|
||||
if (CpuFeatures::IsSupported(CMOV)) {
|
||||
CpuFeatures::Scope use_cmov(CMOV);
|
||||
__ cmov(less, counter, Operand(scratch1));
|
||||
__ cmov(greater, counter, Operand(scratch1));
|
||||
} else {
|
||||
Label l;
|
||||
__ j(less, &l);
|
||||
|
Loading…
Reference in New Issue
Block a user