[llvm-commits] CVS: llvm/lib/CodeGen/MachineCodeEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Nov 20 15:53:04 PST 2004
Changes in directory llvm/lib/CodeGen:
MachineCodeEmitter.cpp updated: 1.19 -> 1.20
---
Log message:
Adjust to changed interfaces
---
Diffs of the changes: (+7 -7)
Index: llvm/lib/CodeGen/MachineCodeEmitter.cpp
diff -u llvm/lib/CodeGen/MachineCodeEmitter.cpp:1.19 llvm/lib/CodeGen/MachineCodeEmitter.cpp:1.20
--- llvm/lib/CodeGen/MachineCodeEmitter.cpp:1.19 Fri Nov 19 21:44:39 2004
+++ llvm/lib/CodeGen/MachineCodeEmitter.cpp Sat Nov 20 17:52:52 2004
@@ -28,11 +28,11 @@
void finishFunction(MachineFunction &F) {
std::cout << "\n";
}
- void startFunctionStub(const Function &F, unsigned StubSize) {
- std::cout << "\n--- Function stub for function: " << F.getName() << "\n";
+ void startFunctionStub(unsigned StubSize) {
+ std::cout << "\n--- Function stub:\n";
}
- void *finishFunctionStub(const Function &F) {
- std::cout << "\n";
+ void *finishFunctionStub(const Function *F) {
+ std::cout << "\n--- End of stub for Function\n";
return 0;
}
@@ -105,11 +105,11 @@
MCE.emitConstantPool(MCP);
}
- void startFunctionStub(const Function &F, unsigned StubSize) {
- MCE.startFunctionStub(F, StubSize);
+ void startFunctionStub(unsigned StubSize) {
+ MCE.startFunctionStub(StubSize);
}
- void *finishFunctionStub(const Function &F) {
+ void *finishFunctionStub(const Function *F) {
return MCE.finishFunctionStub(F);
}
More information about the llvm-commits
mailing list