projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[weak vtables] Remove a bunch of weak vtables
[oota-llvm.git]
/
lib
/
IR
/
Metadata.cpp
diff --git
a/lib/IR/Metadata.cpp
b/lib/IR/Metadata.cpp
index ef0660da86401fd0b509402f7e0cc4781d6b29ad..a32d25c92ae926e892da75c18fa7bf99585276ec 100644
(file)
--- a/
lib/IR/Metadata.cpp
+++ b/
lib/IR/Metadata.cpp
@@
-82,9
+82,9
@@
public:
};
} // end namespace llvm.
+// Provide out-of-line definition to prevent weak vtable.
MDNodeOperand::~MDNodeOperand() {}
-
void MDNodeOperand::deleted() {
getParent()->replaceOperand(this, 0);
}