summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-11-07 00:55:46 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-11-07 00:55:46 +0000
commit5717ecba8e7060b7e916d60f474aaead59b52798 (patch)
tree852914b564c8f6ba518d91848dd755d9953d9ef7 /llvm/examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp
parent33e43ca6082597502b23e5f18ff7756c8d54c639 (diff)
downloadbcm5719-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.cpp2
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;
OpenPOWER on IntegriCloud