MIPS: Fix LFastLiteral to check boilerplate elements kind.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 2 May 2012 07:51:03 +0000 (07:51 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 2 May 2012 07:51:03 +0000 (07:51 +0000)
commit2c64592065e7e3019441772cab429ea503a7d981
tree5444b9a00ae4bb89608c114ecc8f0e10f03178f5
parent0133965d1b87a3d8b4c36b0df4136daec0fa2546
MIPS: Fix LFastLiteral to check boilerplate elements kind.

Port r11470 (621f96c0)

Original commit message:
Fix LFastLiteral to check boilerplate elements kind.

Adds a missing check that the elements kind of the boilerplate object
still has the expected elements kind, unoptimized code can transition
the boilerplate. Corner cases might cause the optimized code to be
reentered again.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10271018
Patch from Akos Palfi <palfia@homejinni.com>.

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