diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-05-19 15:41:33 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-05-19 15:41:33 +0000 |
commit | 5d78db2afb53ab7c1898349019e915a5004d18ca (patch) | |
tree | f3c8610206938ccbdca0668b2bcdc8d4ffe0d1ad /llvm/lib/CodeGen | |
parent | d379fe042ac91a7221a9d34a2c2dd13d75a54bbf (diff) | |
download | bcm5719-llvm-5d78db2afb53ab7c1898349019e915a5004d18ca.tar.gz bcm5719-llvm-5d78db2afb53ab7c1898349019e915a5004d18ca.zip |
InstrnsBefore and InstrnsAfter are now vectors instead of deques.
May be slightly less efficient but significantly reduces special
cases interfaces in code generation.
llvm-svn: 2649
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h index 5c27700d9d6..29f872fe09c 100644 --- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h +++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h @@ -32,7 +32,7 @@ #include "llvm/CodeGen/RegClass.h" #include "llvm/CodeGen/LiveRangeInfo.h" -#include <deque> +#include <vector> #include <map> class MachineCodeForMethod; @@ -51,8 +51,8 @@ class LoopInfo; //---------------------------------------------------------------------------- struct AddedInstrns { - std::deque<MachineInstr*> InstrnsBefore;// Added insts BEFORE an existing inst - std::deque<MachineInstr*> InstrnsAfter; // Added insts AFTER an existing inst + vector<MachineInstr*> InstrnsBefore;// Added insts BEFORE an existing inst + vector<MachineInstr*> InstrnsAfter; // Added insts AFTER an existing inst }; typedef std::map<const MachineInstr *, AddedInstrns> AddedInstrMapType; |