Have IRBuilder take a template argument on whether or not to preserve

names. This can save a lot of allocations if you aren't going to be
looking at the output.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54546 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2008-08-08 19:39:37 +00:00
parent d9cc749318
commit 7a61d701c0
7 changed files with 62 additions and 59 deletions

View File

@@ -84,7 +84,7 @@ class BrainF {
BasicBlock *aberrorbb;
/// Variables
IRBuilder *builder;
IRBuilder<> *builder;
Value *curhead;
};