From 1871b2f1c23b522870aa69fd908bbaccced22e71 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Mon, 8 Jul 2002 22:34:40 +0000 Subject: [PATCH] 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 --- lib/CodeGen/RegAlloc/LiveRangeInfo.h | 2 +- lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/RegAlloc/LiveRangeInfo.h b/lib/CodeGen/RegAlloc/LiveRangeInfo.h index 4af73f06994..9fc3c64fe99 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 LiveRangeMapType; -typedef std::vector CallRetInstrListType; +typedef std::vector CallRetInstrListType; //---------------------------------------------------------------------------- // Class LiveRangeInfo diff --git a/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h b/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h index 4af73f06994..9fc3c64fe99 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 LiveRangeMapType; -typedef std::vector CallRetInstrListType; +typedef std::vector CallRetInstrListType; //---------------------------------------------------------------------------- // Class LiveRangeInfo