diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-11-07 00:55:46 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-11-07 00:55:46 +0000 |
commit | 5717ecba8e7060b7e916d60f474aaead59b52798 (patch) | |
tree | 852914b564c8f6ba518d91848dd755d9953d9ef7 /llvm/examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp | |
parent | 33e43ca6082597502b23e5f18ff7756c8d54c639 (diff) | |
download | bcm5719-llvm-5717ecba8e7060b7e916d60f474aaead59b52798.tar.gz bcm5719-llvm-5717ecba8e7060b7e916d60f474aaead59b52798.zip |
examples: Remove implicit ilist iterator conversions, NFC
llvm-svn: 252379
Diffstat (limited to 'llvm/examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp')
-rw-r--r-- | llvm/examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp b/llvm/examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp index f53fe2477fe..ebaff49e89b 100644 --- a/llvm/examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp +++ b/llvm/examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp @@ -1084,7 +1084,7 @@ void PrototypeAST::CreateArgumentAllocas(Function *F, IRGenContext &C) { AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); // Store the initial value into the alloca. - C.getBuilder().CreateStore(AI, Alloca); + C.getBuilder().CreateStore(&*AI, Alloca); // Add arguments to variable symbol table. C.NamedValues[Args[Idx]] = Alloca; |