diff options
Diffstat (limited to 'runtime/entrypoints')
-rw-r--r-- | runtime/entrypoints/quick/quick_alloc_entrypoints.cc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/runtime/entrypoints/quick/quick_alloc_entrypoints.cc b/runtime/entrypoints/quick/quick_alloc_entrypoints.cc index cccf8f3..a6b5ffd 100644 --- a/runtime/entrypoints/quick/quick_alloc_entrypoints.cc +++ b/runtime/entrypoints/quick/quick_alloc_entrypoints.cc @@ -227,8 +227,8 @@ void SetQuickAllocEntryPointsInstrumented(bool instrumented) { } void ResetQuickAllocEntryPoints(QuickEntryPoints* qpoints) { - switch (entry_points_allocator) { #if !defined(__APPLE__) || !defined(__LP64__) + switch (entry_points_allocator) { case gc::kAllocatorTypeDlMalloc: { SetQuickAllocEntryPoints_dlmalloc(qpoints, entry_points_instrumented); break; @@ -247,12 +247,14 @@ void ResetQuickAllocEntryPoints(QuickEntryPoints* qpoints) { SetQuickAllocEntryPoints_tlab(qpoints, entry_points_instrumented); break; } -#endif - default: { - UNIMPLEMENTED(FATAL); - UNREACHABLE(); - } + default: + break; } +#else + UNUSED(qpoints); +#endif + UNIMPLEMENTED(FATAL); + UNREACHABLE(); } } // namespace art |