Simplify inlining now that the scheduler is smart(er).
authorsigurds@chromium.org <sigurds@chromium.org>
Thu, 28 Aug 2014 12:18:25 +0000 (12:18 +0000)
committersigurds@chromium.org <sigurds@chromium.org>
Thu, 28 Aug 2014 12:18:25 +0000 (12:18 +0000)
commit7bdba61b02425539519dc7caddcdd63cd90dcbd6
tree7eccb3ec65181a7bfe21e5224edd2b155a1d62a7
parent6b1dd6b268415e0f652fe2a0d64088b2d72ce194
Simplify inlining now that the scheduler is smart(er).

* Only control adjustment is to move everything from the inlinee's
  start block to the block the call was in.
* Add a unit test to ensure that the scheduler actually picks the
  right order when placing the code.

R=mstarzinger@chromium.org, titzer@chromium.org

Review URL: https://codereview.chromium.org/508953002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23489 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler/js-inlining.cc
test/cctest/compiler/test-run-inlining.cc