Commit a84b2339 authored by Michael Lippautz's avatar Michael Lippautz Committed by Commit Bot

Remove some unused flags

BUG=

Change-Id: I7542ada0eb557b5b813396f7d250549abb880f91
Reviewed-on: https://chromium-review.googlesource.com/444408
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#43283}
parent ded072f4
This diff is collapsed.
......@@ -5659,22 +5659,6 @@ void Heap::TearDown() {
UpdateMaximumCommitted();
if (FLAG_print_max_heap_committed) {
PrintF("\n");
PrintF("maximum_committed_by_heap=%" PRIuS " ", MaximumCommittedMemory());
PrintF("maximum_committed_by_new_space=%" PRIuS " ",
new_space_->MaximumCommittedMemory());
PrintF("maximum_committed_by_old_space=%" PRIuS " ",
old_space_->MaximumCommittedMemory());
PrintF("maximum_committed_by_code_space=%" PRIuS " ",
code_space_->MaximumCommittedMemory());
PrintF("maximum_committed_by_map_space=%" PRIuS " ",
map_space_->MaximumCommittedMemory());
PrintF("maximum_committed_by_lo_space=%" PRIuS " ",
lo_space_->MaximumCommittedMemory());
PrintF("\n\n");
}
if (FLAG_verify_predictable) {
PrintAlloctionsHash();
}
......
......@@ -5239,20 +5239,15 @@ bool Code::IsWeakObject(Object* object) {
bool Code::IsWeakObjectInOptimizedCode(Object* object) {
if (object->IsMap()) {
return Map::cast(object)->CanTransition() &&
FLAG_weak_embedded_maps_in_optimized_code;
return Map::cast(object)->CanTransition();
}
if (object->IsCell()) {
object = Cell::cast(object)->value();
} else if (object->IsPropertyCell()) {
object = PropertyCell::cast(object)->value();
}
if (object->IsJSReceiver()) {
return FLAG_weak_embedded_objects_in_optimized_code;
}
if (object->IsContext()) {
// Contexts of inlined functions are embedded in optimized code.
return FLAG_weak_embedded_objects_in_optimized_code;
if (object->IsJSReceiver() || object->IsContext()) {
return true;
}
return false;
}
......
......@@ -4342,7 +4342,6 @@ TEST(EnsureAllocationSiteDependentCodesProcessed) {
TEST(CellsInOptimizedCodeAreWeak) {
if (i::FLAG_always_opt || !i::FLAG_crankshaft) return;
i::FLAG_weak_embedded_objects_in_optimized_code = true;
i::FLAG_allow_natives_syntax = true;
CcTest::InitializeVM();
Isolate* isolate = CcTest::i_isolate();
......@@ -4387,7 +4386,6 @@ TEST(CellsInOptimizedCodeAreWeak) {
TEST(ObjectsInOptimizedCodeAreWeak) {
if (i::FLAG_always_opt || !i::FLAG_crankshaft) return;
i::FLAG_weak_embedded_objects_in_optimized_code = true;
i::FLAG_allow_natives_syntax = true;
CcTest::InitializeVM();
Isolate* isolate = CcTest::i_isolate();
......@@ -4429,7 +4427,6 @@ TEST(ObjectsInOptimizedCodeAreWeak) {
TEST(NewSpaceObjectsInOptimizedCode) {
if (i::FLAG_always_opt || !i::FLAG_crankshaft || i::FLAG_turbo) return;
i::FLAG_weak_embedded_objects_in_optimized_code = true;
i::FLAG_allow_natives_syntax = true;
CcTest::InitializeVM();
Isolate* isolate = CcTest::i_isolate();
......@@ -4492,7 +4489,6 @@ TEST(NewSpaceObjectsInOptimizedCode) {
TEST(NoWeakHashTableLeakWithIncrementalMarking) {
if (i::FLAG_always_opt || !i::FLAG_crankshaft) return;
if (!i::FLAG_incremental_marking) return;
i::FLAG_weak_embedded_objects_in_optimized_code = true;
i::FLAG_allow_natives_syntax = true;
i::FLAG_compilation_cache = false;
i::FLAG_retain_maps_for_n_gc = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment