mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Remove trailing whitespaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158943 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f455101bad
commit
5791df830d
@ -40,7 +40,7 @@ static Function *CreateFibFunction(Module *M, LLVMContext &Context) {
|
|||||||
// Create the fib function and insert it into module M. This function is said
|
// Create the fib function and insert it into module M. This function is said
|
||||||
// to return an int and take an int parameter.
|
// to return an int and take an int parameter.
|
||||||
Function *FibF =
|
Function *FibF =
|
||||||
cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context),
|
cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context),
|
||||||
Type::getInt32Ty(Context),
|
Type::getInt32Ty(Context),
|
||||||
(Type *)0));
|
(Type *)0));
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
InitializeNativeTarget();
|
InitializeNativeTarget();
|
||||||
LLVMContext Context;
|
LLVMContext Context;
|
||||||
|
|
||||||
// Create some module to put our function into it.
|
// Create some module to put our function into it.
|
||||||
OwningPtr<Module> M(new Module("test", Context));
|
OwningPtr<Module> M(new Module("test", Context));
|
||||||
|
|
||||||
@ -132,6 +132,6 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
// import result of execution
|
// import result of execution
|
||||||
outs() << "Result: " << GV.IntVal << "\n";
|
outs() << "Result: " << GV.IntVal << "\n";
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user