mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Fix a bug with not removing method level types after compilation
llvm-svn: 582
This commit is contained in:
parent
8308fe4dee
commit
fb161a3063
@ -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…
Reference in New Issue
Block a user