Reviewers: danno,

Description:
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.

[email protected]
TEST=mjsunit/regress/regress-fast-literal-transition


Please review this at https://chromiumcodereview.appspot.com/10254006/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/arm/lithium-codegen-arm.cc
  M src/ia32/lithium-codegen-ia32.cc
  M src/x64/lithium-codegen-x64.cc
  A test/mjsunit/regress/regress-fast-literal-transition.js


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to