summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-31 01:22:29 +0000
committerChris Lattner <sabre@nondot.org>2009-12-31 01:22:29 +0000
commit9b493028dff3c67f1d1419d8a3067a8f0a65f5dc (patch)
tree81a35c6e167e2eeab8dc901740d29de36c25b176 /llvm/lib/Transforms/Utils
parent8cb6c3476db18e9ba0ba6b6614945cb96e153ca2 (diff)
downloadbcm5719-llvm-9b493028dff3c67f1d1419d8a3067a8f0a65f5dc.tar.gz
bcm5719-llvm-9b493028dff3c67f1d1419d8a3067a8f0a65f5dc.zip
rename "elements" of metadata to "operands". "Elements" are
things that occur in types. "operands" are things that occur in values. llvm-svn: 92322
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r--llvm/lib/Transforms/Utils/CloneFunction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp
index 7d7f1a4d970..032a9e3a546 100644
--- a/llvm/lib/Transforms/Utils/CloneFunction.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud