aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 949c1832d1..6566335e16 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -412,8 +412,8 @@ MachineCodeForVMInstr::~MachineCodeForVMInstr()
class MachineCodeForBasicBlock: public vector<MachineInstr*> {
public:
- typedef vector<MachineInstr*>::iterator iterator;
- typedef vector<MachineInstr*>::const_iterator const_iterator;
+ typedef vector<const MachineInstr*>::iterator iterator;
+ typedef vector<const MachineInstr*>::const_iterator const_iterator;
};