ARM: Change code generation for function return
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 14 Jun 2010 11:37:05 +0000 (11:37 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 14 Jun 2010 11:37:05 +0000 (11:37 +0000)
commit1c5a9435abe3110eeef8ed7f0d85fb3eca7524c4
treef13eb7a0276747c641bf12b443624fca8676ec34
parent142de6281901ae8913e37af2cae30fd03065a29a
ARM: Change code generation for function return

Generating code for function return on ARM is now aligned with the other platforms. The first non-shadowed return statement encountered will emit code for function return and all other returns including the fall through at the bottom of a function will jump to that.
Review URL: http://codereview.chromium.org/2815003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4856 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/codegen-arm.cc
src/arm/codegen-arm.h
src/arm/virtual-frame-arm.h
src/ia32/codegen-ia32.cc
src/virtual-frame-light-inl.h