From 0243ff9e62c3c2c5d230a24b9901ecce7807bb38 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Sun, 19 May 2002 15:41:33 +0000 Subject: [PATCH] InstrnsBefore and InstrnsAfter are now vectors instead of deques. May be slightly less efficient but significantly reduces special cases interfaces in code generation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2649 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAlloc/PhyRegAlloc.h | 6 +++--- lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/lib/CodeGen/RegAlloc/PhyRegAlloc.h index 5c27700d9d6..29f872fe09c 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.h +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.h @@ -32,7 +32,7 @@ #include "llvm/CodeGen/RegClass.h" #include "llvm/CodeGen/LiveRangeInfo.h" -#include +#include #include class MachineCodeForMethod; @@ -51,8 +51,8 @@ class LoopInfo; //---------------------------------------------------------------------------- struct AddedInstrns { - std::deque InstrnsBefore;// Added insts BEFORE an existing inst - std::deque InstrnsAfter; // Added insts AFTER an existing inst + vector InstrnsBefore;// Added insts BEFORE an existing inst + vector InstrnsAfter; // Added insts AFTER an existing inst }; typedef std::map AddedInstrMapType; diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h index 5c27700d9d6..29f872fe09c 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h @@ -32,7 +32,7 @@ #include "llvm/CodeGen/RegClass.h" #include "llvm/CodeGen/LiveRangeInfo.h" -#include +#include #include class MachineCodeForMethod; @@ -51,8 +51,8 @@ class LoopInfo; //---------------------------------------------------------------------------- struct AddedInstrns { - std::deque InstrnsBefore;// Added insts BEFORE an existing inst - std::deque InstrnsAfter; // Added insts AFTER an existing inst + vector InstrnsBefore;// Added insts BEFORE an existing inst + vector InstrnsAfter; // Added insts AFTER an existing inst }; typedef std::map AddedInstrMapType;