Commit 8c262011 authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

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
parent 1670dce1
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment