summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/MachineInstr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h
index 949c1832d1b..6566335e160 100644
--- a/llvm/include/llvm/CodeGen/MachineInstr.h
+++ b/llvm/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;
};
OpenPOWER on IntegriCloud