From 06c30a04197831314f958f5fb3896a87e2e64546 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Mon, 30 Jul 2001 18:49:07 +0000 Subject: [PATCH] Added class MachineCodeForBasicBlock. llvm-svn: 332 --- llvm/include/llvm/CodeGen/MachineInstr.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h index bb2f930d5f53..a26c61accc28 100644 --- a/llvm/include/llvm/CodeGen/MachineInstr.h +++ b/llvm/include/llvm/CodeGen/MachineInstr.h @@ -303,7 +303,7 @@ public: //--------------------------------------------------------------------------- -// class MachineInstructionsForVMInstr +// class MachineCodeForVMInstr // // Purpose: // Representation of the sequence of machine instructions created @@ -356,6 +356,23 @@ MachineCodeForVMInstr::~MachineCodeForVMInstr() delete (*this)[i]; } + +//--------------------------------------------------------------------------- +// class MachineCodeForBasicBlock +// +// Purpose: +// Representation of the sequence of machine instructions created +// for a basic block. +//--------------------------------------------------------------------------- + + +class MachineCodeForBasicBlock: public vector { +public: + typedef vector::iterator iterator; + typedef vector::const_iterator const_iterator; +}; + + //--------------------------------------------------------------------------- // Target-independent utility routines for creating machine instructions //---------------------------------------------------------------------------