diff options
author | Jakub Staszak <jstaszak@apple.com> | 2011-07-06 18:22:43 +0000 |
---|---|---|
committer | Jakub Staszak <jstaszak@apple.com> | 2011-07-06 18:22:43 +0000 |
commit | 3f158fdf6e05efe47a90dd808906ad0f0c2601bf (patch) | |
tree | fb200be46863ea4d50df0b4fa76c406d9b9148e5 /llvm/lib/VMCore/LLVMContext.cpp | |
parent | 750734c6778d9e9e8200bf0676addb77da713ac2 (diff) | |
download | bcm5719-llvm-3f158fdf6e05efe47a90dd808906ad0f0c2601bf.tar.gz bcm5719-llvm-3f158fdf6e05efe47a90dd808906ad0f0c2601bf.zip |
Introduce "expect" intrinsic instructions.
llvm-svn: 134516
Diffstat (limited to 'llvm/lib/VMCore/LLVMContext.cpp')
-rw-r--r-- | llvm/lib/VMCore/LLVMContext.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/LLVMContext.cpp b/llvm/lib/VMCore/LLVMContext.cpp index 1bd497d05d4..ebd1e0aa1b0 100644 --- a/llvm/lib/VMCore/LLVMContext.cpp +++ b/llvm/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; } |