diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-09-14 22:03:42 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-09-14 22:03:42 +0000 |
| commit | 172a5f29114cf5b3ae5e2c097090e4fb4ad0d9a8 (patch) | |
| tree | 00f6d2bb328fe83ee3310b4d76060b05b6870cb5 /llvm/lib | |
| parent | 11002a7b93d970017df74bff164ff4ec30d1d14a (diff) | |
| download | bcm5719-llvm-172a5f29114cf5b3ae5e2c097090e4fb4ad0d9a8.tar.gz bcm5719-llvm-172a5f29114cf5b3ae5e2c097090e4fb4ad0d9a8.zip | |
Fix a bug with not removing method level types after compilation
llvm-svn: 582
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Bytecode/Reader/Reader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Bytecode/Reader/Reader.cpp b/llvm/lib/Bytecode/Reader/Reader.cpp index eab576e541b..71fec255cc5 100644 --- a/llvm/lib/Bytecode/Reader/Reader.cpp +++ b/llvm/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); |

