diff options
Diffstat (limited to 'runtime/linear_alloc.cc')
| -rw-r--r-- | runtime/linear_alloc.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/linear_alloc.cc b/runtime/linear_alloc.cc index 43e81d9d94..f91b0ed9ea 100644 --- a/runtime/linear_alloc.cc +++ b/runtime/linear_alloc.cc @@ -48,4 +48,8 @@ bool LinearAlloc::Contains(void* ptr) const { return allocator_.Contains(ptr); } +bool LinearAlloc::ContainsUnsafe(void* ptr) const { + return allocator_.Contains(ptr); +} + } // namespace art |