Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: src/ia32/codegen-ia32.cc

Issue 293024: Merge bleeding_edge revision 3032 to trunk... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/version.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ia32/codegen-ia32.cc
===================================================================
--- src/ia32/codegen-ia32.cc (revision 3092)
+++ src/ia32/codegen-ia32.cc (working copy)
@@ -6531,7 +6531,7 @@
Register left,
Register right) {
if (!ArgsInRegistersSupported()) {
- // Only pass arguments in registers if there is no smi code in the stub.
+ // Pass arguments on the stack.
__ push(left);
__ push(right);
} else {
@@ -6584,7 +6584,7 @@
Register left,
Smi* right) {
if (!ArgsInRegistersSupported()) {
- // Only pass arguments in registers if there is no smi code in the stub.
+ // Pass arguments on the stack.
__ push(left);
__ push(Immediate(right));
} else {
@@ -6612,8 +6612,8 @@
MacroAssembler* masm,
Smi* left,
Register right) {
- if (flags_ != NO_SMI_CODE_IN_STUB) {
- // Only pass arguments in registers if there is no smi code in the stub.
+ if (!ArgsInRegistersSupported()) {
+ // Pass arguments on the stack.
__ push(Immediate(left));
__ push(right);
} else {
« no previous file with comments | « no previous file | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698