mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Fix a bug that prevented compilation of multiple functions
llvm-svn: 4809
This commit is contained in:
parent
aedd7ddff2
commit
d2207d5464
@ -44,6 +44,7 @@ namespace {
|
||||
F = &MachineFunction::construct(&Fn, TM);
|
||||
visit(Fn);
|
||||
RegMap.clear();
|
||||
CurReg = MRegisterInfo::FirstVirtualRegister;
|
||||
F = 0;
|
||||
return false; // We never modify the LLVM itself.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user