Reviewers: Kasper Lund, William Hesse, Message: This is the first part of an attempt to simplify handling of calls. Nothing needs to be changed for ARM yet. The #ifdef ARM is temporary. Next steps are (1) handle the other code objects (JS functions and constructor calls, call ICs), (2) handle the other calls, (3) port it all to ARM.
Description: Simplify the way the code generator handles calls to IC stubs. Before we dispatched on the IC stub kind in a generic CallCodeObject function. Now, we have special functions for the load and store IC stubs. We also (for the load and store ICs) handle moving register arguments into place only after the stack is prepared for the call. This replaces some memory-to-memory moves (for copies whose backing store is occupied by a register needed for the arguments) with memory-to-register moves. Please review this at http://codereview.chromium.org/42602 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/codegen-ia32.cc M src/virtual-frame-ia32.h M src/virtual-frame-ia32.cc M src/virtual-frame.cc --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
