Commit f0f62a06 authored by whesse@chromium.org's avatar whesse@chromium.org

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
parent 5a999d8b
...@@ -8100,7 +8100,7 @@ void CompareStub::Generate(MacroAssembler* masm) { ...@@ -8100,7 +8100,7 @@ void CompareStub::Generate(MacroAssembler* masm) {
builtin = strict_ ? Builtins::STRICT_EQUALS : Builtins::EQUALS; builtin = strict_ ? Builtins::STRICT_EQUALS : Builtins::EQUALS;
} else { } else {
builtin = Builtins::COMPARE; builtin = Builtins::COMPARE;
__ push(Immediate(NegativeComparisonResult(cc_))); __ Push(Smi::FromInt(NegativeComparisonResult(cc_)));
} }
// Restore return address on the stack. // Restore return address on the stack.
......
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