mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Fix syntax of iterate_complex example. Noticed by Martin!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58900 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ae166410b9
commit
203e71db29
@ -1614,7 +1614,7 @@ class OurFunctionPass : public FunctionPass {
|
||||
|
||||
virtual runOnFunction(Function& F) {
|
||||
for (Function::iterator b = F.begin(), be = F.end(); b != be; ++b) {
|
||||
for (BasicBlock::iterator i = b->begin(); ie = b->end(); i != ie; ++i) {
|
||||
for (BasicBlock::iterator i = b->begin(), ie = b->end(); i != ie; ++i) {
|
||||
if (<a href="#CallInst">CallInst</a>* callInst = <a href="#isa">dyn_cast</a><<a
|
||||
href="#CallInst">CallInst</a>>(&*i)) {
|
||||
// <i>We know we've encountered a call instruction, so we</i>
|
||||
|
Loading…
x
Reference in New Issue
Block a user