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 | fd33fb8726d4b824d82851f57e37e2df394aad0b (patch) | |
tree | 61789651e6139ae93cc24e49914501ba94d355e9 /lib/CodeGen/MachineCodeEmitter.cpp | |
parent | 1f25d8801f43752ee6dea6f2bfdf9430a46d20ee (diff) |
Add methods for stub function generation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineCodeEmitter.cpp')
-rw-r--r-- | lib/CodeGen/MachineCodeEmitter.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineCodeEmitter.cpp b/lib/CodeGen/MachineCodeEmitter.cpp index dc2d0d658b..270a7b9038 100644 --- a/lib/CodeGen/MachineCodeEmitter.cpp +++ b/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 << " "; |