summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2014-11-04 15:10:55 -0800
committer Ian Rogers <irogers@google.com> 2014-11-04 15:10:55 -0800
commit7dc9c81aee48928bd7a723fd9a4caed63d196f8f (patch)
tree1bc2eebab5f3c7536c24324d3e1dbfd75cc7b25b
parentde2db523960444ca8abd175814374cb3782f1632 (diff)
Fix build.
Change-Id: I7c6657bdc31e57c144999d4a3f8c2836c3d90403
-rw-r--r--runtime/entrypoints/quick/quick_alloc_entrypoints.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/entrypoints/quick/quick_alloc_entrypoints.cc b/runtime/entrypoints/quick/quick_alloc_entrypoints.cc
index a6b5ffd9f0..c0b79b2b6c 100644
--- a/runtime/entrypoints/quick/quick_alloc_entrypoints.cc
+++ b/runtime/entrypoints/quick/quick_alloc_entrypoints.cc
@@ -231,21 +231,21 @@ void ResetQuickAllocEntryPoints(QuickEntryPoints* qpoints) {
switch (entry_points_allocator) {
case gc::kAllocatorTypeDlMalloc: {
SetQuickAllocEntryPoints_dlmalloc(qpoints, entry_points_instrumented);
- break;
+ return;
}
case gc::kAllocatorTypeRosAlloc: {
SetQuickAllocEntryPoints_rosalloc(qpoints, entry_points_instrumented);
- break;
+ return;
}
case gc::kAllocatorTypeBumpPointer: {
CHECK(kMovingCollector);
SetQuickAllocEntryPoints_bump_pointer(qpoints, entry_points_instrumented);
- break;
+ return;
}
case gc::kAllocatorTypeTLAB: {
CHECK(kMovingCollector);
SetQuickAllocEntryPoints_tlab(qpoints, entry_points_instrumented);
- break;
+ return;
}
default:
break;