MachineInstr* in vector are not const (and never really were)
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 8 Jul 2002 22:34:40 +0000 (22:34 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 8 Jul 2002 22:34:40 +0000 (22:34 +0000)
because operands may be modified directly to set register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2820 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAlloc/LiveRangeInfo.h
lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h

index 4af73f069945a12c5d05ed41aeb5b0926a7c631d..9fc3c64fe99dce1aeabe4901626cbbe40da98945 100644 (file)
@@ -32,7 +32,7 @@ class Function;
 class Instruction;
 
 typedef std::hash_map<const Value*, LiveRange*> LiveRangeMapType;
-typedef std::vector<const MachineInstr*> CallRetInstrListType;
+typedef std::vector<MachineInstr*> CallRetInstrListType;
 
 //----------------------------------------------------------------------------
 // Class LiveRangeInfo
index 4af73f069945a12c5d05ed41aeb5b0926a7c631d..9fc3c64fe99dce1aeabe4901626cbbe40da98945 100644 (file)
@@ -32,7 +32,7 @@ class Function;
 class Instruction;
 
 typedef std::hash_map<const Value*, LiveRange*> LiveRangeMapType;
-typedef std::vector<const MachineInstr*> CallRetInstrListType;
+typedef std::vector<MachineInstr*> CallRetInstrListType;
 
 //----------------------------------------------------------------------------
 // Class LiveRangeInfo