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:
Chris Lattner
2002-12-02 21:13:45 +00:00
parent f514d51b20
commit dc095240c9

View File

@@ -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) {