mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Fix a bug with not removing method level types after compilation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1506aef6d4
commit
e4d71a1e18
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user