diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-09 03:27:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-09 03:27:41 +0000 |
commit | 2274c71150ba70116a456578394755e9e692d78b (patch) | |
tree | 9091c1a2c74ec732c857cf358d5112a6f777c253 /llvm/lib/CodeGen/MachineCodeEmitter.cpp | |
parent | f7c402c42fd2e80611c9cdf8e390e71d84c38179 (diff) | |
download | bcm5719-llvm-2274c71150ba70116a456578394755e9e692d78b.tar.gz bcm5719-llvm-2274c71150ba70116a456578394755e9e692d78b.zip |
Allow const functions
llvm-svn: 6056
Diffstat (limited to 'llvm/lib/CodeGen/MachineCodeEmitter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineCodeEmitter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineCodeEmitter.cpp b/llvm/lib/CodeGen/MachineCodeEmitter.cpp index 270a7b90389..d91efe2cc1b 100644 --- a/llvm/lib/CodeGen/MachineCodeEmitter.cpp +++ b/llvm/lib/CodeGen/MachineCodeEmitter.cpp @@ -22,11 +22,12 @@ namespace { 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) { |