Skip to content

Commit eb4827c

Browse files
Update lld/MachO/Driver.cpp
Co-authored-by: Daniel Rodríguez Troitiño <[email protected]>
1 parent c07e168 commit eb4827c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lld/MachO/Driver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,10 @@ void multiThreadedPageInBackground(const DeferredFiles &deferred) {
312312
index += 1;
313313
mutex.unlock();
314314

315-
volatile int t = 0; // Reference each page to load it into memory.
315+
// Reference each page to load it into memory.
316316
for (const char *page = buff.data(), *end = page + buff.size();
317317
page < end; page += pageSize)
318-
t += *page;
318+
volatile char t = *page;
319319
}
320320
});
321321

0 commit comments

Comments
 (0)