[llvm-commits] CVS: llvm/lib/CodeGen/MachineCodeEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu May 8 22:28:04 PDT 2003
Changes in directory llvm/lib/CodeGen:
MachineCodeEmitter.cpp updated: 1.4 -> 1.5
---
Log message:
Allow const functions
---
Diffs of the changes:
Index: llvm/lib/CodeGen/MachineCodeEmitter.cpp
diff -u llvm/lib/CodeGen/MachineCodeEmitter.cpp:1.4 llvm/lib/CodeGen/MachineCodeEmitter.cpp:1.5
--- llvm/lib/CodeGen/MachineCodeEmitter.cpp:1.4 Thu May 8 16:54:18 2003
+++ llvm/lib/CodeGen/MachineCodeEmitter.cpp Thu May 8 22:27:41 2003
@@ -22,11 +22,12 @@
std::cout << "\n--- Basic Block: " << BB.getBasicBlock()->getName()<<"\n";
}
- void startFunctionStub(Function &F, unsigned StubSize) {
+ void startFunctionStub(const Function &F, unsigned StubSize) {
std::cout << "\n--- Function stub for function: " << F.getName() << "\n";
}
- void finishFunctionStub(Function &F) {
+ void *finishFunctionStub(const Function &F) {
std::cout << "\n";
+ return 0;
}
void emitByte(unsigned char B) {
More information about the llvm-commits
mailing list