X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FLLVMContext.h;h=5ec33453db6b6168969dc81142c5aa66076f89b2;hb=4b938958bcc59586508bc9681e75c2e3f5164672;hp=75789182f6db1feeddb9e825657ef2eefffc394d;hpb=aad3fb7362aff151e97ad457005ea3f2872fe868;p=oota-llvm.git diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h index 75789182f6d..5ec33453db6 100644 --- a/include/llvm/LLVMContext.h +++ b/include/llvm/LLVMContext.h @@ -68,8 +68,8 @@ public: UndefValue* getUndef(const Type* Ty); // ConstantInt accessors - ConstantInt* getConstantIntTrue(); - ConstantInt* getConstantIntFalse(); + ConstantInt* getTrue(); + ConstantInt* getFalse(); /// If Ty is a vector type, return a Constant with a splat of the given /// value. Otherwise return a ConstantInt for the given value. @@ -271,6 +271,7 @@ public: // Methods for erasing constants void erase(MDString *M); + void erase(MDNode *M); }; /// FOR BACKWARDS COMPATIBILITY - Returns a global context.