Fix sharing of literal boilerplates for optimized code.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 22 Jun 2012 13:55:15 +0000 (13:55 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 22 Jun 2012 13:55:15 +0000 (13:55 +0000)
commit84b866b2d9647aac4b8577117d0a91761c6459cf
treed838a2663674f848aabcd57e3378e061586c6367
parente3888b2e57c21388f4ac86abb7775f96b54e7afa
Fix sharing of literal boilerplates for optimized code.

This makes sure the literal boilerplates array is correctly shared
together with optimized code when caching of optimized code is enabled.
It also enabled said caching by default again.

R=ulan@chromium.org
BUG=v8:2193
TEST=mjsunit/regress/regress-2193

Review URL: https://chromiumcodereview.appspot.com/10649008

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11911 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler.cc
src/factory.cc
src/flag-definitions.h
src/objects.cc
src/objects.h
src/runtime.cc
test/mjsunit/regress/regress-2193.js [new file with mode: 0644]