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
This commit is contained in:
Vikram S. Adve 2002-05-19 15:41:33 +00:00
parent d379fe042a
commit 5d78db2afb
1 changed files with 3 additions and 3 deletions

View File

@ -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;