projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c4d88d
)
Free the VirtRegMap at the end of MachineFunction processing instead of at
author
Chris Lattner
<sabre@nondot.org>
Thu, 30 Sep 2004 02:02:33 +0000
(
02:02
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 30 Sep 2004 02:02:33 +0000
(
02:02
+0000)
the beginning of processing the next one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16605
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocLinearScan.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocLinearScan.cpp
b/lib/CodeGen/RegAllocLinearScan.cpp
index eda105f10cad0ef556b5b127922e340fed775b95..2a5898a89d06479987a4b7c80e178e7cd6fcb537 100644
(file)
--- a/
lib/CodeGen/RegAllocLinearScan.cpp
+++ b/
lib/CodeGen/RegAllocLinearScan.cpp
@@
-41,7
+41,6
@@
namespace {
static unsigned numIntervals = 0;
class RA : public MachineFunctionPass {
- private:
MachineFunction* mf_;
const TargetMachine* tm_;
const MRegisterInfo* mri_;
@@
-150,6
+149,7
@@
bool RA::runOnMachineFunction(MachineFunction &fn) {
spiller_->runOnMachineFunction(*mf_, *vrm_);
+ vrm_.reset(); // Free the VirtRegMap
return true;
}