summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/IntrinsicInst.cpp
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/VMCore/IntrinsicInst.cpp
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/VMCore/IntrinsicInst.cpp')
-rw-r--r--llvm/lib/VMCore/IntrinsicInst.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/IntrinsicInst.cpp b/llvm/lib/VMCore/IntrinsicInst.cpp
index 5f33d0eebb9..b508f6b4ca9 100644
--- a/llvm/lib/VMCore/IntrinsicInst.cpp
+++ b/llvm/lib/VMCore/IntrinsicInst.cpp
@@ -61,11 +61,11 @@ Value *DbgInfoIntrinsic::StripCast(Value *C) {
Value *DbgStopPointInst::getFileName() const {
// Once the operand indices are verified, update this assert
assert(LLVMDebugVersion == (7 << 16) && "Verify operand indices");
- return getContext()->getElement(3);
+ return getContext()->getOperand(3);
}
Value *DbgStopPointInst::getDirectory() const {
// Once the operand indices are verified, update this assert
assert(LLVMDebugVersion == (7 << 16) && "Verify operand indices");
- return getContext()->getElement(4);
+ return getContext()->getOperand(4);
}
OpenPOWER on IntegriCloud