diff options
Diffstat (limited to 'examples/Fibonacci')
-rw-r--r-- | examples/Fibonacci/fibonacci.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Fibonacci/fibonacci.cpp b/examples/Fibonacci/fibonacci.cpp index 9ffb3d9..b028c4b 100644 --- a/examples/Fibonacci/fibonacci.cpp +++ b/examples/Fibonacci/fibonacci.cpp @@ -58,7 +58,7 @@ static Function *CreateFibFunction(Module *M) { // Create an exit block. BasicBlock* RecurseBB = new BasicBlock("recurse", FibF); - // Create the "if (arg < 2) goto exitbb" + // Create the "if (arg <= 2) goto exitbb" Value *CondInst = new ICmpInst(ICmpInst::ICMP_SLE, ArgX, Two, "cond", BB); new BranchInst(RetBB, RecurseBB, CondInst, BB); |