aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDisassembler/EDDisassembler.h
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-09-07 16:44:14 +0000
committerDuncan Sands <baldrick@free.fr>2011-09-07 16:44:14 +0000
commit524c33a27fb4abd7d3144e4d21b0b70791cdfac2 (patch)
tree576d4661660ce34150f5dc4b23ec2ec9952513ee /llvm/lib/MC/MCDisassembler/EDDisassembler.h
parenteebdb67420c1809c158c78f3ace08c35085deb6e (diff)
downloadllvm-524c33a27fb4abd7d3144e4d21b0b70791cdfac2.zip
llvm-524c33a27fb4abd7d3144e4d21b0b70791cdfac2.tar.gz
llvm-524c33a27fb4abd7d3144e4d21b0b70791cdfac2.tar.bz2
When inlining exception handling code into another function, ensure that
duplicate tests are eliminated (for example if the two functions both have a catch clause catching the same type, ensure the redundant one is removed). Note that it would probably be safe to say that eh.typeid.for is 'const', but since two calls to it with the same argument can give different results (but only if the calls are in different functions), it seems more correct to mark it only 'pure'; this doesn't get in the way of the optimization. llvm-svn: 139236
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/EDDisassembler.h')
0 files changed, 0 insertions, 0 deletions