ARM: fix loading of global object in LWrapReceiver.
authorulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 27 Dec 2013 14:38:00 +0000 (14:38 +0000)
committerulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 27 Dec 2013 14:38:00 +0000 (14:38 +0000)
commit711bcbb0e3b6ff73a65b504947241e636b3db4d6
treecc1a9b26c08ef384dd576c54f7395350ccbacab7
parent7ac7a7ea9918914e99961d3066101ee157539687
ARM: fix loading of global object in LWrapReceiver.

Since r16993 the cp register is handled by registers allocator,
and we cannot assume that the cp always contains the context.

BUG=318420
LOG=Y
TEST=test/mjsunit/regress/regress-318420.js
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/121703002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18421 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/lithium-codegen-arm.cc
test/mjsunit/regress/regress-318420.js [new file with mode: 0644]