mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Add comment about ownership semantics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4859 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -97,7 +97,8 @@ public:
|
|||||||
/// get machine code emitted. This uses a MAchineCodeEmitter object to handle
|
/// get machine code emitted. This uses a MAchineCodeEmitter object to handle
|
||||||
/// actually outputting the machine code and resolving things like the address
|
/// actually outputting the machine code and resolving things like the address
|
||||||
/// of functions. This method should returns true if machine code emission is
|
/// of functions. This method should returns true if machine code emission is
|
||||||
/// not supported.
|
/// not supported. The ownership of the MCE is not transfered to the backend
|
||||||
|
/// pass... the caller of this method should delete it.
|
||||||
///
|
///
|
||||||
virtual bool addPassesToEmitMachineCode(PassManager &PM,
|
virtual bool addPassesToEmitMachineCode(PassManager &PM,
|
||||||
MachineCodeEmitter *MCE) {
|
MachineCodeEmitter *MCE) {
|
||||||
|
Reference in New Issue
Block a user