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:
sgjesse@chromium.org 2010-01-08 14:17:26 +00:00
parent 1670dce1bf
commit 8c2620112c

View File

@ -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);