diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-31 01:22:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-31 01:22:29 +0000 |
commit | 5d0cacdbb6577f2449986f345858db17dc1bcf59 (patch) | |
tree | de365f7b73e384392ca19f8cb9bc0c9600712003 /lib/Transforms/Utils/CloneFunction.cpp | |
parent | b76359e36e75dfe16c5153c3cac903efbb2cd8d7 (diff) | |
download | external_llvm-5d0cacdbb6577f2449986f345858db17dc1bcf59.zip external_llvm-5d0cacdbb6577f2449986f345858db17dc1bcf59.tar.gz external_llvm-5d0cacdbb6577f2449986f345858db17dc1bcf59.tar.bz2 |
rename "elements" of metadata to "operands". "Elements" are
things that occur in types. "operands" are things that occur
in values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92322 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r-- | lib/Transforms/Utils/CloneFunction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Utils/CloneFunction.cpp b/lib/Transforms/Utils/CloneFunction.cpp index 7d7f1a4..032a9e3 100644 --- a/lib/Transforms/Utils/CloneFunction.cpp +++ b/lib/Transforms/Utils/CloneFunction.cpp @@ -360,9 +360,9 @@ static MDNode *UpdateInlinedAtInfo(MDNode *InsnMD, MDNode *TheCallMD) { NewLoc = UpdateInlinedAtInfo(OrigLocation.getNode(), TheCallMD); Value *MDVs[] = { - InsnMD->getElement(0), // Line - InsnMD->getElement(1), // Col - InsnMD->getElement(2), // Scope + InsnMD->getOperand(0), // Line + InsnMD->getOperand(1), // Col + InsnMD->getOperand(2), // Scope NewLoc }; return MDNode::get(InsnMD->getContext(), MDVs, 4); |