mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-18 16:03:17 +00:00
Fix a bug that prevented compilation of multiple functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
78c1d9037b
commit
94e8ee2282
@ -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.
|
||||
}
|
||||
|
@ -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…
x
Reference in New Issue
Block a user