mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-10 08:40:41 +00:00
Revised BatchEmitOwnedPtrs to work better with constant pointers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43861 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6d0372d0b3
commit
43b665db50
@ -86,7 +86,7 @@ public:
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
void BatchEmitOwnedPtrs(unsigned NumPtrs, T** Ptrs) {
|
||||
void BatchEmitOwnedPtrs(unsigned NumPtrs, T* const * Ptrs) {
|
||||
for (unsigned i = 0; i < NumPtrs; ++i)
|
||||
EmitPtr(Ptrs[i]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user