--Owen
On Nov 27, 2007, at 7:51 PM, Bill Wendling wrote:
Hi Owen, Thanks! :-) A few comments:+ // isLoopHeader - True if the block is a loop header nodeYou probably want a /// comment here.+ virtual void print(std::ostream &O, const Module* M = 0) const { + if (O) LI->print(O, M); + }I think that "if (O)" will always be true here, right?+// Allow clients to walk the list of nested loops... +template <> struct GraphTraits<const MachineLoop*> { + typedef const MachineLoop NodeType;+ typedef std::vector<MachineLoop*>::const_iterator ChildIteratorType;Should this be:typedef std::vector<const MachineLoop*>::const_iterator ChildIteratorType;? -bw _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits