diff options
author | Chris Lattner <sabre@nondot.org> | 2012-01-26 20:37:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-01-26 20:37:11 +0000 |
commit | 37e3835a9400d4efa03261f5379866f3123cff4e (patch) | |
tree | f097e6711a0611eff5dd4aade70373eab87d8274 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9b61cf31677ced6e477990a43962e92eb8737025 (diff) | |
download | bcm5719-llvm-37e3835a9400d4efa03261f5379866f3123cff4e.tar.gz bcm5719-llvm-37e3835a9400d4efa03261f5379866f3123cff4e.zip |
Reduce a lot of code duplication by implementing
ConstantExpr::getWithOperandReplaced and ConstantExpr::replaceUsesOfWithOnConstant
in terms of ConstantExpr::getWithOperands. While we're at it,
make sure that ConstantExpr::getWithOperands covers all instructions: it was
missing insert/extractvalue.
llvm-svn: 149076
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions