diff options
Diffstat (limited to 'runtime/mirror/class-alloc-inl.h')
-rw-r--r-- | runtime/mirror/class-alloc-inl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/mirror/class-alloc-inl.h b/runtime/mirror/class-alloc-inl.h index 03c422fc79..cab3c5174b 100644 --- a/runtime/mirror/class-alloc-inl.h +++ b/runtime/mirror/class-alloc-inl.h @@ -72,11 +72,11 @@ inline ObjPtr<Object> Class::Alloc(Thread* self, gc::AllocatorType allocator_typ } inline ObjPtr<Object> Class::AllocObject(Thread* self) { - return Alloc<true>(self, Runtime::Current()->GetHeap()->GetCurrentAllocator()); + return Alloc(self, Runtime::Current()->GetHeap()->GetCurrentAllocator()); } inline ObjPtr<Object> Class::AllocNonMovableObject(Thread* self) { - return Alloc<true>(self, Runtime::Current()->GetHeap()->GetCurrentNonMovingAllocator()); + return Alloc(self, Runtime::Current()->GetHeap()->GetCurrentNonMovingAllocator()); } } // namespace mirror |