mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-10 08:40:41 +00:00
Make a note of the fact that EmitOwnedPtr() has nothing to do with the
OwningPtr<> class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48763 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6f729d601c
commit
e62683d3fc
@ -57,6 +57,8 @@ public:
|
||||
template <typename T>
|
||||
inline void EmitRef(const T& ref) { EmitPtr(&ref); }
|
||||
|
||||
// Emit a pointer and the object pointed to. (This has no relation to the
|
||||
// OwningPtr<> class.)
|
||||
template <typename T>
|
||||
inline void EmitOwnedPtr(T* ptr) {
|
||||
EmitPtr(ptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user