Move the operand iterator into MachineInstrBundle.h where it belongs.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 29 Feb 2012 00:33:41 +0000 (00:33 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 29 Feb 2012 00:33:41 +0000 (00:33 +0000)
commit30e98a03a3c524026e2da2607e04bb655b0b6350
tree918eb0da58d10019f3f26e1de5fb0eb955db2f8b
parentd1d721660edf3f4e76ea69fd5579f857b97a3150
Move the operand iterator into MachineInstrBundle.h where it belongs.

Extract a base class and provide four specific sub-classes for iterating
over const/non-const bundles/instructions.

This eliminates the mystery bool constructor argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151684 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineBasicBlock.h
include/llvm/CodeGen/MachineInstrBundle.h
lib/CodeGen/MachineVerifier.cpp