diff options
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 8ad66dd01afc..6d4fe4ba0023 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  | 
