aboutsummaryrefslogtreecommitdiff
path: root/llvm/examples/HowToUseJIT/HowToUseJIT.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/HowToUseJIT/HowToUseJIT.cpp
parent33e43ca6082597502b23e5f18ff7756c8d54c639 (diff)
downloadllvm-5717ecba8e7060b7e916d60f474aaead59b52798.zip
llvm-5717ecba8e7060b7e916d60f474aaead59b52798.tar.gz
llvm-5717ecba8e7060b7e916d60f474aaead59b52798.tar.bz2
examples: Remove implicit ilist iterator conversions, NFC
llvm-svn: 252379
Diffstat (limited to 'llvm/examples/HowToUseJIT/HowToUseJIT.cpp')
-rw-r--r--llvm/examples/HowToUseJIT/HowToUseJIT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
index e5fca3f..e0bf6a0 100644
--- a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
+++ b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
@@ -80,7 +80,7 @@ int main() {
// Get pointers to the integer argument of the add1 function...
assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg
- Argument *ArgX = Add1F->arg_begin(); // Get the arg
+ Argument *ArgX = &*Add1F->arg_begin(); // Get the arg
ArgX->setName("AnArg"); // Give it a nice symbolic name for fun.
// Create the add instruction, inserting it into the end of BB.