diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-08 21:54:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-08 21:54:18 +0000 |
commit | c9a4f4c6b44ed189d02724873c61a5403a8a1bf1 (patch) | |
tree | c960c0946084102b1dea3a8b28581113a9f74a99 /llvm/lib/CodeGen/MachineCodeEmitter.cpp | |
parent | e79e4c8147b4fcd8b66b5fcb039f069a7dd64e7c (diff) | |
download | bcm5719-llvm-c9a4f4c6b44ed189d02724873c61a5403a8a1bf1.tar.gz bcm5719-llvm-c9a4f4c6b44ed189d02724873c61a5403a8a1bf1.zip |
Add methods for stub function generation
llvm-svn: 6054
Diffstat (limited to 'llvm/lib/CodeGen/MachineCodeEmitter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineCodeEmitter.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineCodeEmitter.cpp b/llvm/lib/CodeGen/MachineCodeEmitter.cpp index dc2d0d658be..270a7b90389 100644 --- a/llvm/lib/CodeGen/MachineCodeEmitter.cpp +++ b/llvm/lib/CodeGen/MachineCodeEmitter.cpp @@ -21,6 +21,13 @@ namespace { void startBasicBlock(MachineBasicBlock &BB) { std::cout << "\n--- Basic Block: " << BB.getBasicBlock()->getName()<<"\n"; } + + void startFunctionStub(Function &F, unsigned StubSize) { + std::cout << "\n--- Function stub for function: " << F.getName() << "\n"; + } + void finishFunctionStub(Function &F) { + std::cout << "\n"; + } void emitByte(unsigned char B) { std::cout << "0x" << std::hex << (unsigned int)B << std::dec << " "; |