1
0
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:
Chris Lattner 2002-11-21 17:26:58 +00:00
parent aedd7ddff2
commit d2207d5464

View File

@ -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.
}