mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-04 04:19:25 +00:00
Change this interface a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18063 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -52,12 +52,12 @@ public:
|
|||||||
/// specifies the total size required by the stub. Stubs are not allowed to
|
/// specifies the total size required by the stub. Stubs are not allowed to
|
||||||
/// have constant pools, the can only use the other emit* methods.
|
/// 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
|
/// finishFunctionStub - This callback is invoked to terminate a function
|
||||||
/// stub.
|
/// 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
|
/// emitByte - This callback is invoked when a byte needs to be written to the
|
||||||
/// output stream.
|
/// output stream.
|
||||||
|
Reference in New Issue
Block a user