parent
6fd54fd19c
commit
89d5916921
|
@ -12,7 +12,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#define DEBUG_TYPE "regalloc"
|
||||
#include "llvm/CodeGen/LiveVariables.h"
|
||||
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
|
||||
#include "PhysRegTracker.h"
|
||||
#include "VirtRegMap.h"
|
||||
|
@ -216,10 +215,8 @@ bool RALinScan::runOnMachineFunction(MachineFunction &fn) {
|
|||
|
||||
// Rewrite spill code and update the PhysRegsUsed set.
|
||||
spiller_->runOnMachineFunction(*mf_, *vrm_);
|
||||
|
||||
vrm_.reset(); // Free the VirtRegMap
|
||||
|
||||
|
||||
while (!unhandled_.empty()) unhandled_.pop();
|
||||
fixed_.clear();
|
||||
active_.clear();
|
||||
|
|
Loading…
Reference in New Issue