forked from OSchip/llvm-project
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:
parent
d379fe042a
commit
5d78db2afb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue