Revert CC related changes.
Revert: "X86_64: Add allocation entrypoint switching for CC is_marking"
Revert: "Fix mips build in InitEntryPoints"
Revert: "Fix mac build in ResetQuickAllocEntryPoints"
Test: test-art-target-run-test
Change-Id: If38d44edf8c5def5c4d8c9419e4af0cd8d3be724
diff --git a/runtime/entrypoints/quick/quick_alloc_entrypoints.cc b/runtime/entrypoints/quick/quick_alloc_entrypoints.cc
index 82bb8e5..397655a 100644
--- a/runtime/entrypoints/quick/quick_alloc_entrypoints.cc
+++ b/runtime/entrypoints/quick/quick_alloc_entrypoints.cc
@@ -292,7 +292,7 @@
entry_points_instrumented = instrumented;
}
-void ResetQuickAllocEntryPoints(QuickEntryPoints* qpoints, bool is_marking) {
+void ResetQuickAllocEntryPoints(QuickEntryPoints* qpoints) {
#if !defined(__APPLE__) || !defined(__LP64__)
switch (entry_points_allocator) {
case gc::kAllocatorTypeDlMalloc: {
@@ -320,12 +320,7 @@
}
case gc::kAllocatorTypeRegionTLAB: {
CHECK(kMovingCollector);
- if (is_marking) {
- SetQuickAllocEntryPoints_region_tlab(qpoints, entry_points_instrumented);
- } else {
- // Not marking means we need no read barriers and can just use the normal TLAB case.
- SetQuickAllocEntryPoints_tlab(qpoints, entry_points_instrumented);
- }
+ SetQuickAllocEntryPoints_region_tlab(qpoints, entry_points_instrumented);
return;
}
default:
@@ -333,7 +328,6 @@
}
#else
UNUSED(qpoints);
- UNUSED(is_marking);
#endif
UNIMPLEMENTED(FATAL);
UNREACHABLE();