mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-05-13 10:36:07 +00:00
Revised BatchEmitOwnedPtrs to work better with constant pointers.
llvm-svn: 43861
This commit is contained in:
parent
eaafbccdd8
commit
93c65108de
@ -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