[llvm-commits] CVS: llvm/lib/CodeGen/MachineBasicBlock.cpp MachineFunction.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 27 19:42:19 PST 2002
Changes in directory llvm/lib/CodeGen:
MachineBasicBlock.cpp updated: 1.3 -> 1.4
MachineFunction.cpp updated: 1.20 -> 1.21
---
Log message:
Rename MachineCodeForBasicBlock to MachineBasicBlock
---
Diffs of the changes:
Index: llvm/lib/CodeGen/MachineBasicBlock.cpp
diff -u llvm/lib/CodeGen/MachineBasicBlock.cpp:1.3 llvm/lib/CodeGen/MachineBasicBlock.cpp:1.4
--- llvm/lib/CodeGen/MachineBasicBlock.cpp:1.3 Sun Oct 27 19:21:55 2002
+++ llvm/lib/CodeGen/MachineBasicBlock.cpp Sun Oct 27 19:41:16 2002
@@ -1,10 +1,10 @@
-//===-- MachineCodeForBasicBlock.cpp --------------------------------------===//
+//===-- MachineBasicBlock.cpp ---------------------------------------------===//
//
// Collect the sequence of machine instructions for a basic block.
//
//===----------------------------------------------------------------------===//
-#include "llvm/CodeGen/MachineCodeForBasicBlock.h"
+#include "llvm/CodeGen/MachineBasicBlock.h"
AnnotationID MCFBB_AID(
AnnotationManager::getID("CodeGen::MachineBasicBlock"));
Index: llvm/lib/CodeGen/MachineFunction.cpp
diff -u llvm/lib/CodeGen/MachineFunction.cpp:1.20 llvm/lib/CodeGen/MachineFunction.cpp:1.21
--- llvm/lib/CodeGen/MachineFunction.cpp:1.20 Sun Oct 27 19:16:38 2002
+++ llvm/lib/CodeGen/MachineFunction.cpp Sun Oct 27 19:41:16 2002
@@ -8,7 +8,7 @@
#include "llvm/CodeGen/MachineInstr.h" // For debug output
#include "llvm/CodeGen/MachineFunction.h"
-#include "llvm/CodeGen/MachineCodeForBasicBlock.h"
+#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineCodeForInstruction.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/MachineFrameInfo.h"
@@ -303,7 +303,7 @@
{
std::cerr << "\n" << BB->getName() << " (" << (const void*)BB
<< ")" << ":" << "\n";
- MachineCodeForBasicBlock& mvec = MachineCodeForBasicBlock::get(BB);
+ MachineBasicBlock& mvec = MachineBasicBlock::get(BB);
for (unsigned i=0; i < mvec.size(); i++)
std::cerr << "\t" << *mvec[i];
}
More information about the llvm-commits
mailing list