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/ParallelJIT | |
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/ParallelJIT')
-rw-r--r-- | llvm/examples/ParallelJIT/ParallelJIT.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/examples/ParallelJIT/ParallelJIT.cpp b/llvm/examples/ParallelJIT/ParallelJIT.cpp index 27ea8b1419f..3c485d4c964 100644 --- a/llvm/examples/ParallelJIT/ParallelJIT.cpp +++ b/llvm/examples/ParallelJIT/ParallelJIT.cpp @@ -50,7 +50,7 @@ static Function* createAdd1(Module *M) { // 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. @@ -80,7 +80,7 @@ static Function *CreateFibFunction(Module *M) { Value *Two = ConstantInt::get(Type::getInt32Ty(M->getContext()), 2); // Get pointer to the integer argument of the add1 function... - Argument *ArgX = FibF->arg_begin(); // Get the arg. + Argument *ArgX = &*FibF->arg_begin(); // Get the arg. ArgX->setName("AnArg"); // Give it a nice symbolic name for fun. // Create the true_block. |