v8/tools
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
..
gcmole
gyp Make GDBJIT interface compile again. 2012-10-09 08:24:58 +00:00
oom_dump
testrunner Test runner: More fixes. 2012-10-02 08:50:02 +00:00
v8.xcodeproj
visual_studio
android-build.sh Rewrite Makefile rules for Android to allow parallel execution 2012-07-27 11:14:44 +00:00
android-ll-prof.sh Change default ARCH version in android low-level profiler script to 4.6 2012-10-08 11:11:30 +00:00
android-run.py Android test runner: Rename "Error" to "ANDROID" 2012-07-19 10:44:15 +00:00
android-sync.sh Android test runner: Make android-sync.sh work on Mac 2012-07-23 16:57:22 +00:00
bash-completion.sh
check-static-initializers.sh
codemap.js
common-includes.sh push-to-trunk.sh/merge-to-branch.sh: use "git apply" instead of "patch" to apply patches 2012-10-05 08:58:02 +00:00
consarray.js
csvparser.js
disasm.py
freebsd-tick-processor
fuzz-harness.sh
gc-nvp-trace-processor.py
gdb-v8-support.py
gen-postmortem-metadata.py postmortem: fix postmortem build 2012-06-13 13:48:18 +00:00
generate-ten-powers.scm
grokdump.py Extend grokdump.py with simple BreakPad symbol files support. 2012-09-26 12:51:46 +00:00
js2c.py
jsmin.py
linux-tick-processor Fix path to d8 and properly quote strings so it works with dash(1) 2012-07-26 10:03:30 +00:00
ll_prof.py Add support for running low level profiler on Android. 2012-09-06 15:01:20 +00:00
logreader.js
mac-nm
mac-tick-processor
merge-to-branch.sh push-to-trunk.sh/merge-to-branch.sh: use "git apply" instead of "patch" to apply patches 2012-10-05 08:58:02 +00:00
presubmit.py First commit of new tools/run-tests.py 2012-09-24 09:38:46 +00:00
process-heap-prof.py
profile_view.js
profile.js
push-to-trunk.sh push-to-trunk.sh/merge-to-branch.sh: use "git apply" instead of "patch" to apply patches 2012-10-05 08:58:02 +00:00
run-tests.py Added a simple dead code removal phase. 2012-10-11 10:52:58 +00:00
run-valgrind.py
splaytree.js
stats-viewer.py
status-file-converter.py First commit of new tools/run-tests.py 2012-09-24 09:38:46 +00:00
test-server.py Test runner: More fixes. 2012-10-02 08:50:02 +00:00
test-wrapper-gypbuild.py Build V8 for Android IA 2012-07-18 11:43:44 +00:00
test.py Added a simple dead code removal phase. 2012-10-11 10:52:58 +00:00
tickprocessor-driver.js Add an option to the tickprocessor to specify the directory for lib lookup 2012-07-16 11:00:44 +00:00
tickprocessor.js Add an option to the tickprocessor to specify the directory for lib lookup 2012-07-16 11:00:44 +00:00
utils.py
windows-tick-processor.bat