mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
Register argument to va_start must be marked as defined!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7734 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3871f05671
commit
4ecff5df8c
@ -1418,7 +1418,7 @@ bool CodeGenIntrinsic(LLVMIntrinsic::ID iid, CallInst &callInstr,
|
||||
int firstVarArgOff = numFixedArgs * argSize + target.getFrameInfo().
|
||||
getFirstIncomingArgOffset(MachineFunction::get(func), ignore);
|
||||
mvec.push_back(BuildMI(V9::ADDi, 3).addMReg(fpReg).addSImm(firstVarArgOff).
|
||||
addReg(callInstr.getOperand(1)));
|
||||
addRegDef(callInstr.getOperand(1)));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user