ARM: Fix GC bug with previous change
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 30 Jun 2010 13:39:03 +0000 (13:39 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 30 Jun 2010 13:39:03 +0000 (13:39 +0000)
commitbbb264846476f6f8f1675ec9cd98bb4774a0f765
treeb3b3229c9ccfad8a16bd2d524681b95cab4a7bfd
parentb122fbd363d549014af382e94b39642a3db79d4f
ARM: Fix GC bug with previous change

The change in r4990 contained a bug in Math.pow. One of the arguments for the call to runtime where clobbered if allocation of the heap number for the result failed.

Caught by a couple of Mozilla tests which does a lot of calls to Math.pow.

Fix presubmit error in x64.
Review URL: http://codereview.chromium.org/2847037

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