mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Fix a bunch of 80col violations that arose from the Create API change. Tweak makefile targets to find these better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51143 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -265,12 +265,13 @@ GenericValue JIT::runFunction(Function *F,
|
||||
Args.push_back(C);
|
||||
}
|
||||
|
||||
CallInst *TheCall = CallInst::Create(F, Args.begin(), Args.end(), "", StubBB);
|
||||
CallInst *TheCall = CallInst::Create(F, Args.begin(), Args.end(),
|
||||
"", StubBB);
|
||||
TheCall->setTailCall();
|
||||
if (TheCall->getType() != Type::VoidTy)
|
||||
ReturnInst::Create(TheCall, StubBB); // Return result of the call.
|
||||
ReturnInst::Create(TheCall, StubBB); // Return result of the call.
|
||||
else
|
||||
ReturnInst::Create(StubBB); // Just return void.
|
||||
ReturnInst::Create(StubBB); // Just return void.
|
||||
|
||||
// Finally, return the value returned by our nullary stub function.
|
||||
return runFunction(Stub, std::vector<GenericValue>());
|
||||
|
Reference in New Issue
Block a user