aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-07-08 22:34:40 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-07-08 22:34:40 +0000
commit1871b2f1c23b522870aa69fd908bbaccced22e71 (patch)
tree8706395b14fa5e086d00b8d8d0328671a5dc7571 /lib
parentc920dc714da6bd987df060553d7098697b323264 (diff)
MachineInstr* in vector are not const (and never really were)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/RegAlloc/LiveRangeInfo.h2
-rw-r--r--lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAlloc/LiveRangeInfo.h b/lib/CodeGen/RegAlloc/LiveRangeInfo.h
index 4af73f0699..9fc3c64fe9 100644
--- a/lib/CodeGen/RegAlloc/LiveRangeInfo.h
+++ b/lib/CodeGen/RegAlloc/LiveRangeInfo.h
@@ -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
diff --git a/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h b/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h
index 4af73f0699..9fc3c64fe9 100644
--- a/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h
+++ b/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h
@@ -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