diff options
| author | Duncan Sands <baldrick@free.fr> | 2008-04-13 06:22:09 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2008-04-13 06:22:09 +0000 |
| commit | a07136ee2dc29579568e4f08c65db974855841dc (patch) | |
| tree | de2cd5ce847fd3fbbb0858c23b058d239355110b /llvm/docs/tutorial/LangImpl6.html | |
| parent | fcd78b02c213d6e436f53fa5ef830e28189db900 (diff) | |
| download | bcm5719-llvm-a07136ee2dc29579568e4f08c65db974855841dc.tar.gz bcm5719-llvm-a07136ee2dc29579568e4f08c65db974855841dc.zip | |
Merge LLVMBuilder and FoldingBuilder, calling
the result IRBuilder. Patch by Dominic Hamon.
llvm-svn: 49604
Diffstat (limited to 'llvm/docs/tutorial/LangImpl6.html')
| -rw-r--r-- | llvm/docs/tutorial/LangImpl6.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/LangImpl6.html b/llvm/docs/tutorial/LangImpl6.html index 62ce43e33f4..1f159e0b56d 100644 --- a/llvm/docs/tutorial/LangImpl6.html +++ b/llvm/docs/tutorial/LangImpl6.html @@ -827,7 +827,7 @@ if/then/else and for expressions.. To build this example, use: #include "llvm/Analysis/Verifier.h" #include "llvm/Target/TargetData.h" #include "llvm/Transforms/Scalar.h" -#include "llvm/Support/LLVMBuilder.h" +#include "llvm/Support/IRBuilder.h" #include <cstdio> #include <string> #include <map> @@ -1357,7 +1357,7 @@ static PrototypeAST *ParseExtern() { //===----------------------------------------------------------------------===// static Module *TheModule; -static LLVMFoldingBuilder Builder; +static IRBuilder Builder; static std::map<std::string, Value*> NamedValues; static FunctionPassManager *TheFPM; |

