summaryrefslogtreecommitdiffstats
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
commitff045b2e18b08bee0aed340043e685889715eb86 (patch)
tree971f26df07f22d56f36f061b3f47e6209e75652f
parent50684c092d90bf56ea218120c9de2ae1f1dc1d90 (diff)
downloadbcm5719-llvm-ff045b2e18b08bee0aed340043e685889715eb86.tar.gz
bcm5719-llvm-ff045b2e18b08bee0aed340043e685889715eb86.zip
MachineInstr* in vector are not const (and never really were)
because operands may be modified directly to set register. llvm-svn: 2820
-rw-r--r--llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h
index 4af73f06994..9fc3c64fe99 100644
--- a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h
+++ b/llvm/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
OpenPOWER on IntegriCloud