Go to file
svenpanne@chromium.org f03fd70d9e Added a simple dead code removal phase.
We iteratively remove all dead Hydrogen instruction until we reach a fixed point. We consider an instruction dead if it is unused, has no observable side effects and is deletable. The last part of the condition is currently not very nice: We basically have to whitelist "safe" instructions, because we are missing more detailed dependencies and/or more detailed tracking of side effects.

We disable dead code elimination for now in our test runners, because we have tons of poorly written tests which wouldn't test anymore what they are supposed to test with this phase enabled. To get test coverage for dead code elimination itself, we should enable it on a few build bots. This is not really a perfect state, but the best we can do for now.

This patch includes a few const-correctness fixes, most of them were necessary for this CL.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12697 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-10-11 10:52:58 +00:00
benchmarks More fixes for V8 benchmark version 7. 2012-03-15 17:13:50 +00:00
build ARM: allow VFP3 instructions when hardfloat is enabled. 2012-10-10 16:15:29 +00:00
include Make sure that names of temporaries do not clash with real variables. 2012-10-05 12:47:34 +00:00
preparser Fix a bunch of implicit casts detected by the Win64 compiler 2012-06-19 13:45:30 +00:00
samples Fix compilation when disabling debugger support. 2012-07-05 16:23:14 +00:00
src Added a simple dead code removal phase. 2012-10-11 10:52:58 +00:00
test Fix transition conversion from CONSTANT_FUNCTION to FIELD. 2012-10-10 12:31:50 +00:00
tools Added a simple dead code removal phase. 2012-10-11 10:52:58 +00:00
.gitignore Test runner: fix empty patches; better error message for missing test files; correct .gitignore entry for message.status2 2012-10-01 17:16:00 +00:00
AUTHORS Fix path to d8 and properly quote strings so it works with dash(1) 2012-07-26 10:03:30 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.14.3. 2012-10-10 17:05:00 +00:00
DEPS Pull more recent gyp. 2012-09-26 09:12:45 +00:00
LICENSE Update LICENSE file 2012-01-03 16:38:42 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Pull more recent gyp. 2012-09-26 09:12:45 +00:00
Makefile.android Change the Android makefile to use GCC 4.6 instead of GCC 4.4.3. 2012-10-02 13:20:27 +00:00
OWNERS Add OWNERS file 2012-10-08 11:58:08 +00:00
PRESUBMIT.py Add PRESUBMIT script to V8 2012-10-08 13:49:57 +00:00
SConstruct Fix shared library build errors. 2012-05-18 11:15:14 +00:00