IR: Take an LLVMContext in Metadata::Metadata()
[oota-llvm.git] / include / llvm / IR / Metadata.h
index 6cad37e9c0beb920294bc39444dfaa5df2a7e567..7f8dca68bfa7a1c75e5346e0ac7db40a16b54767 100644 (file)
@@ -41,7 +41,7 @@ enum LLVMConstants : uint32_t {
 /// TODO: Detach from the Value hierarchy.
 class Metadata : public Value {
 protected:
-  Metadata(Type *Type, unsigned ID) : Value(Type, ID) {}
+  Metadata(LLVMContext &Context, unsigned ID);
 
 public:
   static bool classof(const Value *V) {