MIPS: Fix loading of global object in LWrapReceiver.
authorpalfia@homejinni.com <palfia@homejinni.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 2 Jan 2014 15:20:55 +0000 (15:20 +0000)
committerpalfia@homejinni.com <palfia@homejinni.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 2 Jan 2014 15:20:55 +0000 (15:20 +0000)
commita6e07f7fccf504f1381aef8f5069f4fab2d36e87
tree2195d2f18e1b576d6209152a0373af4a70ef1772
parentb4c5627abf5dbab69cc5d443b5688a72bfb6703a
MIPS: Fix loading of global object in LWrapReceiver.

Port r18421 (39719ed)

Original commit message:
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=ulan@chromium.org

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

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