mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 13:37:07 +00:00
Change this interface a bit
llvm-svn: 18063
This commit is contained in:
parent
8300ab6f15
commit
53ea58d4c1
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user