Avoid starting a new basic block when inlining a function.
authorfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 7 Mar 2012 12:04:28 +0000 (12:04 +0000)
committerfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 7 Mar 2012 12:04:28 +0000 (12:04 +0000)
commit886a1c6469e8b4db175906b0765cf6c2a32825cf
tree1167849df98d222510d1a02c3fd1013893628a51
parentcbeaf7f584a6b6bae4b97cb01d9dbf07e4c56d53
Avoid starting a new basic block when inlining a function.

Instead of creating a fresh basic block for the inlined body,
I just simulate the outer environment in the middle of the current
block before updating the current environment to the inlined environment and
emitting the enter-inlined instruction.
Review URL: https://chromiumcodereview.appspot.com/9618052

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10954 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/hydrogen.cc