diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-11-12 08:21:33 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-11-12 08:21:33 +0000 |
commit | 5fc28718204a2def3e7998cf23321236c225d6e4 (patch) | |
tree | 3dc8056937dd875442e80efdd1e92b7d0675a2cf /llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp | |
parent | 45d030a05abad687f0fdbb95c5e94cc7e9aab6df (diff) | |
download | bcm5719-llvm-5fc28718204a2def3e7998cf23321236c225d6e4.tar.gz bcm5719-llvm-5fc28718204a2def3e7998cf23321236c225d6e4.zip |
IRgen improvements on unreachable code:
- Split out "simple" statements which can easily handle IR generation
when there is no insert point. These are generally statements which
start by emitting a new block or are only containers for other
statements.
- This fixes a regression in emitting dummy blocks, notably for case
statements.
- This also fixes spurious emission of a number of debug stoppoint
intrinsic instructions.
Remove unneeded sw.body block, just clear the insertion point.
Lift out CodeGenFunction::EmitStopPoint which calls into the
CGDebugInfo class when generating debug info.
Normalize definitions of Emit{Break,Continue}Stmt and usage of
ErrorUnsupported.
llvm-svn: 59118
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp')
0 files changed, 0 insertions, 0 deletions