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 | 292bb600530703ecf789ece17a4bae949d36e977 (patch) | |
tree | 0ca6f484de1369246f626b9a0c14442e5c848c9b /llvm | |
parent | f3c3ba6b7accd86235c531c889508a637224d6bb (diff) | |
download | bcm5719-llvm-292bb600530703ecf789ece17a4bae949d36e977.tar.gz bcm5719-llvm-292bb600530703ecf789ece17a4bae949d36e977.zip |
Change this interface a bit
llvm-svn: 18063
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/CodeGen/MachineCodeEmitter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineCodeEmitter.h b/llvm/include/llvm/CodeGen/MachineCodeEmitter.h index 5bc1d1e266e..c8a08821385 100644 --- a/llvm/include/llvm/CodeGen/MachineCodeEmitter.h +++ b/llvm/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. |