diff options
Diffstat (limited to 'examples/ParallelJIT/ParallelJIT.cpp')
-rw-r--r-- | examples/ParallelJIT/ParallelJIT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ParallelJIT/ParallelJIT.cpp b/examples/ParallelJIT/ParallelJIT.cpp index dfda126378..7f2e1bfc10 100644 --- a/examples/ParallelJIT/ParallelJIT.cpp +++ b/examples/ParallelJIT/ParallelJIT.cpp @@ -83,7 +83,7 @@ static Function *CreateFibFunction(Module *M) BasicBlock* RecurseBB = new BasicBlock("recurse", FibF); // Create the "if (arg < 2) goto exitbb" - Value *CondInst = BinaryOperator::createSetLE(ArgX, Two, "cond", BB); + Value *CondInst = new ICmpInst(ICmpInst::ICMP_SLE, ArgX, Two, "cond", BB); new BranchInst(RetBB, RecurseBB, CondInst, BB); // Create: ret int 1 |