projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Flag -> Glue, the ongoing saga
[oota-llvm.git]
/
lib
/
VMCore
/
InlineAsm.cpp
diff --git
a/lib/VMCore/InlineAsm.cpp
b/lib/VMCore/InlineAsm.cpp
index d951a29f43c5318a2e27b6f12ac9430419cd451c..e4f99f09a5c2f97f41d695593715a12eb3b58c71 100644
(file)
--- a/
lib/VMCore/InlineAsm.cpp
+++ b/
lib/VMCore/InlineAsm.cpp
@@
-47,6
+47,7
@@
InlineAsm::InlineAsm(const PointerType *Ty, const std::string &asmString,
}
void InlineAsm::destroyConstant() {
+ getRawType()->getContext().pImpl->InlineAsms.remove(this);
delete this;
}