mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
More cleanups, preparing to revamp InstrForest to, among other things,
not leak all its allocated memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@553 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -238,7 +238,7 @@ class InstrForest : private hash_map<const Instruction*, InstructionNode*> {
|
||||
hash_set<InstructionNode*> treeRoots;
|
||||
|
||||
public:
|
||||
void buildTreesForMethod(Method *M);
|
||||
InstrForest(Method *M);
|
||||
|
||||
inline InstructionNode *getTreeNodeForInstr(Instruction* instr) {
|
||||
return (*this)[instr];
|
||||
|
Reference in New Issue
Block a user