summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/CloneFunction.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-05-07 18:19:32 +0000
committerDevang Patel <dpatel@apple.com>2010-05-07 18:19:32 +0000
commit4423abd73496b38cd78915542145353ae86c0001 (patch)
tree58e934b8bcdd32ff2ca89b872c7340cc7129c5e5 /llvm/lib/Transforms/Utils/CloneFunction.cpp
parentba4ad7f2fdffe484d4f8bf465228dcc7dc1dbfee (diff)
downloadbcm5719-llvm-4423abd73496b38cd78915542145353ae86c0001.tar.gz
bcm5719-llvm-4423abd73496b38cd78915542145353ae86c0001.zip
Use overloaded operators instead of DIDescriptor::getNode()
llvm-svn: 103276
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/CloneFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp
index 8ad66dd01af..6d4fe4ba002 100644
--- a/llvm/lib/Transforms/Utils/CloneFunction.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud