mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
use the obvious getters
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61893 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -831,9 +831,9 @@ static void WriteInstruction(const Instruction &I, unsigned InstID,
|
|||||||
const InvokeInst *II = cast<InvokeInst>(&I);
|
const InvokeInst *II = cast<InvokeInst>(&I);
|
||||||
Vals.push_back(VE.getAttributeID(II->getAttributes()));
|
Vals.push_back(VE.getAttributeID(II->getAttributes()));
|
||||||
Vals.push_back(II->getCallingConv());
|
Vals.push_back(II->getCallingConv());
|
||||||
Vals.push_back(VE.getValueID(I.getOperand(1))); // normal dest
|
Vals.push_back(VE.getValueID(II->getNormalDest()));
|
||||||
Vals.push_back(VE.getValueID(I.getOperand(2))); // unwind dest
|
Vals.push_back(VE.getValueID(II->getUnwindDest()));
|
||||||
PushValueAndType(I.getOperand(0), InstID, Vals, VE); // callee
|
PushValueAndType(II->getCalledFunction(), InstID, Vals, VE);
|
||||||
|
|
||||||
// Emit value #'s for the fixed parameters.
|
// Emit value #'s for the fixed parameters.
|
||||||
for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i)
|
for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i)
|
||||||
|
Reference in New Issue
Block a user