diff options
Diffstat (limited to 'runtime/linear_alloc.cc')
-rw-r--r-- | runtime/linear_alloc.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/linear_alloc.cc b/runtime/linear_alloc.cc index f91b0ed9ea..e9db9b8b4c 100644 --- a/runtime/linear_alloc.cc +++ b/runtime/linear_alloc.cc @@ -33,6 +33,11 @@ void* LinearAlloc::Alloc(Thread* self, size_t size) { return allocator_.Alloc(size); } +void* LinearAlloc::AllocAlign16(Thread* self, size_t size) { + MutexLock mu(self, lock_); + return allocator_.AllocAlign16(size); +} + size_t LinearAlloc::GetUsedMemory() const { MutexLock mu(Thread::Current(), lock_); return allocator_.BytesUsed(); |