llvm.org GIT mirror llvm / 5791df8
Remove trailing whitespaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158943 91177308-0d34-0410-b5e6-96231b3b80d8 Arnaud A. de Grandmaison 8 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3939 // Create the fib function and insert it into module M. This function is said
4040 // to return an int and take an int parameter.
4141 Function *FibF =
42 cast(M->getOrInsertFunction("fib", Type::getInt32Ty(Context),
42 cast(M->getOrInsertFunction("fib", Type::getInt32Ty(Context),
4343 Type::getInt32Ty(Context),
4444 (Type *)0));
4545
9393
9494 InitializeNativeTarget();
9595 LLVMContext Context;
96
96
9797 // Create some module to put our function into it.
9898 OwningPtr M(new Module("test", Context));
9999
131131
132132 // import result of execution
133133 outs() << "Result: " << GV.IntVal << "\n";
134
134
135135 return 0;
136136 }