Added class MachineCodeForBasicBlock.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 30 Jul 2001 18:49:07 +0000 (18:49 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 30 Jul 2001 18:49:07 +0000 (18:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstr.h

index bb2f930d5f534f25bcae469484a088c6e580a8c6..a26c61accc28e4db2c8ee6fc63be1619c0361540 100644 (file)
@@ -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<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
 //---------------------------------------------------------------------------