mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Use overloaded operators instead of DIDescriptor::getNode()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103276 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -344,7 +344,7 @@ static MDNode *UpdateInlinedAtInfo(MDNode *InsnMD, MDNode *TheCallMD) {
|
||||
DILocation OrigLocation = ILoc.getOrigLocation();
|
||||
MDNode *NewLoc = TheCallMD;
|
||||
if (OrigLocation.Verify())
|
||||
NewLoc = UpdateInlinedAtInfo(OrigLocation.getNode(), TheCallMD);
|
||||
NewLoc = UpdateInlinedAtInfo(OrigLocation, TheCallMD);
|
||||
|
||||
Value *MDVs[] = {
|
||||
InsnMD->getOperand(0), // Line
|
||||
|
Reference in New Issue
Block a user