aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2011-04-21 19:59:12 +0000
committerJay Foad <jay.foad@gmail.com>2011-04-21 19:59:12 +0000
commit6f141659cab11109d9931d92d0988f8850778de3 (patch)
tree1ce828b70f00150d1d350cb45ed765a8b0fd1643 /lib/CodeGen/CGStmt.cpp
parentcf3ce5d89628b3955c638fb102c8dc4c24e1986d (diff)
PR9214: Convert Metadata API to use ArrayRef.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129929 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r--lib/CodeGen/CGStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp
index 666b0c6332..0acedeffaf 100644
--- a/lib/CodeGen/CGStmt.cpp
+++ b/lib/CodeGen/CGStmt.cpp
@@ -1351,7 +1351,7 @@ static llvm::MDNode *getAsmSrcLocInfo(const StringLiteral *Str,
}
}
- return llvm::MDNode::get(CGF.getLLVMContext(), Locs.data(), Locs.size());
+ return llvm::MDNode::get(CGF.getLLVMContext(), Locs);
}
void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) {