Added class MachineCodeForBasicBlock.

llvm-svn: 332
This commit is contained in:
Vikram S. Adve 2001-07-30 18:49:07 +00:00
parent da0c7d89bc
commit 06c30a0419
1 changed files with 18 additions and 1 deletions

View File

@ -303,7 +303,7 @@ public:
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// class MachineInstructionsForVMInstr // class MachineCodeForVMInstr
// //
// Purpose: // Purpose:
// Representation of the sequence of machine instructions created // Representation of the sequence of machine instructions created
@ -356,6 +356,23 @@ MachineCodeForVMInstr::~MachineCodeForVMInstr()
delete (*this)[i]; delete (*this)[i];
} }
//---------------------------------------------------------------------------
// class MachineCodeForBasicBlock
//
// Purpose:
// Representation of the sequence of machine instructions created
// for a basic block.
//---------------------------------------------------------------------------
class MachineCodeForBasicBlock: public vector<const MachineInstr*> {
public:
typedef vector<const MachineInstr*>::iterator iterator;
typedef vector<const MachineInstr*>::const_iterator const_iterator;
};
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Target-independent utility routines for creating machine instructions // Target-independent utility routines for creating machine instructions
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------