Reviewers: Kasper Lund, Feng Qian,

Message:
This is a first set of changes to adapt ARM to the new calling
convention. There are still 5 tests failing.



Description:
Adapt to new calling convention on ARM:
- Simplified frame entry and frame exit code.
- Added ArgumentsAdaptorTrampoline and check for matching argument
counts in the InvokePrologue.
- Removed definition and uses of USE_OLD_CALLING_CONVENTIONS.
- Changed MacroAssembler::InvokeBuiltin to match ia32 version.
- Start introducing convenience instructions in the ARM assembler as
needed. These instructions take all Register parameters to avoid extra
typing of "Operand(reg)".


To keep the architectures in sync these changes have been made to the
ia32 files:
- Changed MacroAssembler::EnterFrame(StackFrame::Type type) to
MacroAssembler::EnterInternalFrame().


These parts are still missing:
- unimplemented: Builtins::Generate_FunctionApply - large limit
- unimplemented: Builtins::Generate_ArgumentsAdaptorTrampoline -
non-function call
- The files have not been lint'd yet.



Please review this at http://codereview.chromium.org/1930

Affected files:
   M     src/assembler-arm.h
   M     src/bootstrapper.cc
   M     src/builtins-arm.cc
   M     src/builtins-ia32.cc
   M     src/builtins.cc
   M     src/codegen-arm.cc
   M     src/frames-arm.cc
   M     src/frames-arm.h
   M     src/frames.cc
   M     src/frames.h
   M     src/globals.h
   M     src/ic-arm.cc
   M     src/ic-ia32.cc
   M     src/macro-assembler-arm.cc
   M     src/macro-assembler-arm.h
   M     src/macro-assembler-ia32.cc
   M     src/macro-assembler-ia32.h
   M     src/runtime.cc
   M     src/simulator-arm.cc
   M     src/stub-cache-arm.cc
   M     src/stub-cache-ia32.cc



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to