projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1506aef
)
Fix a bug with not removing method level types after compilation
author
Chris Lattner
<sabre@nondot.org>
Fri, 14 Sep 2001 22:03:42 +0000
(22:03 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 14 Sep 2001 22:03:42 +0000
(22:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@582
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Reader/Reader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Reader/Reader.cpp
b/lib/Bytecode/Reader/Reader.cpp
index eab576e541b9e541058d1cc1c7cdd5a4bfb7b9e6..71fec255cc56eaf6abe4c4014dffe36972ede589 100644
(file)
--- a/
lib/Bytecode/Reader/Reader.cpp
+++ b/
lib/Bytecode/Reader/Reader.cpp
@@
-302,6
+302,9
@@
bool BytecodeParser::ParseMethod(const uchar *&Buf, const uchar *EndBuf,
// Replace placeholder with the real method pointer...
ModuleValues[type][MethSlot] = M;
+ // Clear out method level types...
+ MethodTypeValues.clear();
+
// If anyone is using the placeholder make them use the real method instead
MethPHolder->replaceAllUsesWith(M);