diff options
Diffstat (limited to 'runtime/gc/allocator/rosalloc.cc')
-rw-r--r-- | runtime/gc/allocator/rosalloc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/allocator/rosalloc.cc b/runtime/gc/allocator/rosalloc.cc index f11303002c..a693659595 100644 --- a/runtime/gc/allocator/rosalloc.cc +++ b/runtime/gc/allocator/rosalloc.cc @@ -584,7 +584,7 @@ RosAlloc::Run* RosAlloc::RefillRun(Thread* self, size_t idx) { return AllocRun(self, idx); } -void* RosAlloc::AllocFromCurrentRunUnlocked(Thread* self, size_t idx) { +inline void* RosAlloc::AllocFromCurrentRunUnlocked(Thread* self, size_t idx) { Run* current_run = current_runs_[idx]; DCHECK(current_run != nullptr); void* slot_addr = current_run->AllocSlot(); |