A virtual destructor for the class with virtual methods!

llvm-svn: 137400
This commit is contained in:
Nick Lewycky 2011-08-12 00:32:15 +00:00
parent 121302772d
commit 0847b3a6d3
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ typedef std::pair<const MachineInstr *, const MachineInstr *> InsnRange;
class LexicalScopes {
public:
LexicalScopes() : MF(NULL), CurrentFnLexicalScope(NULL) { }
~LexicalScopes();
virtual ~LexicalScopes();
/// initialize - Scan machine function and constuct lexical scope nest.
virtual void initialize(const MachineFunction &);