projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IR: Take an LLVMContext in Metadata::Metadata()
[oota-llvm.git]
/
include
/
llvm
/
IR
/
Metadata.h
diff --git
a/include/llvm/IR/Metadata.h
b/include/llvm/IR/Metadata.h
index 6cad37e9c0beb920294bc39444dfaa5df2a7e567..7f8dca68bfa7a1c75e5346e0ac7db40a16b54767 100644
(file)
--- a/
include/llvm/IR/Metadata.h
+++ b/
include/llvm/IR/Metadata.h
@@
-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) {