diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-20 23:52:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-20 23:52:43 +0000 |
commit | ec45c2388f65a5f52a91e7cbaf0a43d56ddd30ca (patch) | |
tree | ed1940c2a9da19c974167809002b82dfd6c11f81 /include/llvm/CodeGen/MachineCodeEmitter.h | |
parent | 6fb9b52e2a51966eb11a2f5a61e19975473a50a4 (diff) | |
download | external_llvm-ec45c2388f65a5f52a91e7cbaf0a43d56ddd30ca.zip external_llvm-ec45c2388f65a5f52a91e7cbaf0a43d56ddd30ca.tar.gz external_llvm-ec45c2388f65a5f52a91e7cbaf0a43d56ddd30ca.tar.bz2 |
Change this interface a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18063 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineCodeEmitter.h')
-rw-r--r-- | include/llvm/CodeGen/MachineCodeEmitter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineCodeEmitter.h b/include/llvm/CodeGen/MachineCodeEmitter.h index 5bc1d1e..c8a0882 100644 --- a/include/llvm/CodeGen/MachineCodeEmitter.h +++ b/include/llvm/CodeGen/MachineCodeEmitter.h @@ -52,12 +52,12 @@ public: /// specifies the total size required by the stub. Stubs are not allowed to /// have constant pools, the can only use the other emit* methods. /// - virtual void startFunctionStub(const Function &F, unsigned StubSize) {} + virtual void startFunctionStub(unsigned StubSize) {} /// finishFunctionStub - This callback is invoked to terminate a function /// stub. /// - virtual void *finishFunctionStub(const Function &F) { return 0; } + virtual void *finishFunctionStub(const Function *F) { return 0; } /// emitByte - This callback is invoked when a byte needs to be written to the /// output stream. |