aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorjeffhao <jeffhao@google.com>2011-02-07 17:48:13 -0800
committerjeffhao <jeffhao@google.com>2011-02-09 14:43:37 -0800
commitb75d1ca580c6a6c7ebdc813dff2855205063fc46 (patch)
treefe10aedf21f12e32a59a3ed8e653f31cf112bf1c /vm/compiler/codegen/arm/CodegenDriver.c
parent7e233ed7fbc144246d558f29c57a6934d5d9f5cd (diff)
SCCP propagates more constants and prunes unexecuted paths from branches.
The SCCP pass now more aggressively propagates constant values through the code. Combined with changes to the LiteralOpUpgrader, instructions with known constant results will be replaced with a simple const instruction. In addition, the SCCP pass can now find branches with constant conditions and remove the branch path that never ends up being executed. Because of the way finally blocks end up being replicated, this tends to prune away error handling when no exception occurs, and hard code error handling when an exception happens. Change-Id: I6f3330151ec387c8a1e7ce098ff6cdb8d0ce5606
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions