MachineDominators.cpp (208954) | MachineDominators.cpp (210299) |
---|---|
1//===- MachineDominators.cpp - Machine Dominator Calculation --------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 32 unchanged lines hidden (view full) --- 41} 42 43MachineDominatorTree::MachineDominatorTree() 44 : MachineFunctionPass(&ID) { 45 DT = new DominatorTreeBase<MachineBasicBlock>(false); 46} 47 48MachineDominatorTree::~MachineDominatorTree() { | 1//===- MachineDominators.cpp - Machine Dominator Calculation --------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 32 unchanged lines hidden (view full) --- 41} 42 43MachineDominatorTree::MachineDominatorTree() 44 : MachineFunctionPass(&ID) { 45 DT = new DominatorTreeBase<MachineBasicBlock>(false); 46} 47 48MachineDominatorTree::~MachineDominatorTree() { |
49 DT->releaseMemory(); | |
50 delete DT; 51} 52 53void MachineDominatorTree::releaseMemory() { 54 DT->releaseMemory(); 55} 56 57void MachineDominatorTree::print(raw_ostream &OS, const Module*) const { 58 DT->print(OS); 59} | 49 delete DT; 50} 51 52void MachineDominatorTree::releaseMemory() { 53 DT->releaseMemory(); 54} 55 56void MachineDominatorTree::print(raw_ostream &OS, const Module*) const { 57 DT->print(OS); 58} |