v8/test
fschneider@chromium.org bb0a2ea766 Share optimized code for closures.
Each SharedFunctionInfo gets an optimized code map to store
one optimized code object per context. When allocating a new
closure we consult this map and check if there is optimized code
that can be shared.

This patch is based on an original patch
by Anton Muhin (http://codereview.chromium.org/6793013/).

BUG=v8:2087, v8:2094
TEST=test/mjsunit/compiler/optimized-closures.js
Review URL: https://chromiumcodereview.appspot.com/10103035

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11817 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-06-14 14:06:22 +00:00
..
benchmarks Switch from sample shell to d8 for unit test 2011-07-26 05:56:45 +00:00
cctest Increase old space in cctest/test-api/HugeConsStringOutOfMemory test. 2012-06-14 13:52:58 +00:00
es5conform MIPS: updated test .status files based mostly on the ARM version. 2011-12-05 11:44:17 +00:00
message Clean up some minor stuff in test expectation files 2012-06-11 12:24:00 +00:00
mjsunit Share optimized code for closures. 2012-06-14 14:06:22 +00:00
mozilla Clean up some minor stuff in test expectation files 2012-06-11 12:24:00 +00:00
preparser MIPS: updated test .status files based mostly on the ARM version. 2011-12-05 11:44:17 +00:00
sputnik Fix source property of empty RegExp objects. 2012-04-23 13:59:43 +00:00
test262 Temporarily hack test frameworks to use the temporary flag. :( 2012-06-05 13:38:32 +00:00