diff options
-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 5bc1d1e266..c8a0882138 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. |