Port bug fixes to optimized Function.prototype.apply to ARM.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 11 Feb 2011 11:24:38 +0000 (11:24 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 11 Feb 2011 11:24:38 +0000 (11:24 +0000)
commitbea46a272329c3f41330624a8eccb5ef54e9d040
tree1288f457636e444af40392e31d9f488fbd4ea277
parente3fd635f261db07a8b005e24081d3d5f03ca238e
Port bug fixes to optimized Function.prototype.apply to ARM.

There were a couple of bug fixes to this code on IA32 which have not yet
been ported to ARM.  They are: failure to correctly handle non-JSObject
receivers and failure to restore the context register after calling JS code.

Review URL: http://codereview.chromium.org/6479019

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6744 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/lithium-codegen-arm.cc
src/ia32/lithium-codegen-ia32.cc