projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix cmake again :)
[oota-llvm.git]
/
lib
/
VMCore
/
LLVMContext.cpp
diff --git
a/lib/VMCore/LLVMContext.cpp
b/lib/VMCore/LLVMContext.cpp
index 1bd497d05d4ecccc6e6d54db4a38a7d7c70962be..ebd1e0aa1b0f344bd54b10eaa350d9face2e31c8 100644
(file)
--- 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 '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; }
}
LLVMContext::~LLVMContext() { delete pImpl; }