summaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorJakub Staszak <jstaszak@apple.com>2011-07-06 18:22:43 +0000
committerJakub Staszak <jstaszak@apple.com>2011-07-06 18:22:43 +0000
commit9da9934e27dfb48de77b80a3e20ed2d869b52024 (patch)
tree711368e52d6596eeb3273012758fe07e87213687 /lib/VMCore
parentd7c7e2ff7d3305e4bc5634902ec4b8406e9cefca (diff)
downloadllvm-9da9934e27dfb48de77b80a3e20ed2d869b52024.tar.gz
llvm-9da9934e27dfb48de77b80a3e20ed2d869b52024.tar.bz2
llvm-9da9934e27dfb48de77b80a3e20ed2d869b52024.tar.xz
Introduce "expect" intrinsic instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/LLVMContext.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/VMCore/LLVMContext.cpp b/lib/VMCore/LLVMContext.cpp
index 1bd497d05d..ebd1e0aa1b 100644
--- a/lib/VMCore/LLVMContext.cpp
+++ b/lib/VMCore/LLVMContext.cpp
@@ -39,6 +39,10 @@ LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) {
// Create the 'tbaa' metadata kind.
unsigned TBAAID = getMDKindID("tbaa");
assert(TBAAID == MD_tbaa && "tbaa kind id drifted"); (void)TBAAID;
+
+ // Create the 'prof' metadata kind.
+ unsigned ProfID = getMDKindID("prof");
+ assert(ProfID == MD_prof && "prof kind id drifted"); (void)ProfID;
}
LLVMContext::~LLVMContext() { delete pImpl; }