From: whesse@chromium.org Date: Tue, 27 Apr 2010 15:02:22 +0000 (+0000) Subject: Fix logical error in change 4515. X-Git-Tag: upstream/4.7.83~21931 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0f62a06d48c330c3d8fc0ff77058fe6bba2e493;p=platform%2Fupstream%2Fv8.git Fix logical error in change 4515. Review URL: http://codereview.chromium.org/1769011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4517 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc index dc1b2cb..5036637 100644 --- a/src/x64/codegen-x64.cc +++ b/src/x64/codegen-x64.cc @@ -8100,7 +8100,7 @@ void CompareStub::Generate(MacroAssembler* masm) { builtin = strict_ ? Builtins::STRICT_EQUALS : Builtins::EQUALS; } else { builtin = Builtins::COMPARE; - __ push(Immediate(NegativeComparisonResult(cc_))); + __ Push(Smi::FromInt(NegativeComparisonResult(cc_))); } // Restore return address on the stack.