diff options
author | Devang Patel <dpatel@apple.com> | 2010-05-07 18:19:32 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-05-07 18:19:32 +0000 |
commit | ed66bf5125ec47a338854d5e8a556f1686fd69bb (patch) | |
tree | 4bd2f947dd9f58dcde7dfb84065313f76291dc77 /lib/Transforms/Utils/CloneFunction.cpp | |
parent | 2db49d797b86b7f3615bae17b2b016727778a6c4 (diff) |
Use overloaded operators instead of DIDescriptor::getNode()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103276 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r-- | lib/Transforms/Utils/CloneFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/CloneFunction.cpp b/lib/Transforms/Utils/CloneFunction.cpp index 8ad66dd01a..6d4fe4ba00 100644 --- a/lib/Transforms/Utils/CloneFunction.cpp +++ b/lib/Transforms/Utils/CloneFunction.cpp @@ -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 |