| Index: src/mark-compact.cc
|
| diff --git a/src/mark-compact.cc b/src/mark-compact.cc
|
| index 29d86161819a5ec8aad048c52ebcd7fc3a5fcf4a..40015010d11dc32f8bb74fc8f4245e7ea2c004df 100644
|
| --- a/src/mark-compact.cc
|
| +++ b/src/mark-compact.cc
|
| @@ -2478,7 +2478,7 @@ void MarkCompactCollector::ClearNonLiveMapTransitions(Map* map,
|
|
|
|
|
| void MarkCompactCollector::ClearAndDeoptimizeDependentCode(Map* map) {
|
| - AssertNoAllocation no_allocation_scope;
|
| + DisallowHeapAllocation no_allocation;
|
| DependentCode* entries = map->dependent_code();
|
| DependentCode::GroupStartIndexes starts(entries);
|
| int number_of_entries = starts.number_of_entries();
|
| @@ -2495,7 +2495,7 @@ void MarkCompactCollector::ClearAndDeoptimizeDependentCode(Map* map) {
|
|
|
|
|
| void MarkCompactCollector::ClearNonLiveDependentCode(Map* map) {
|
| - AssertNoAllocation no_allocation_scope;
|
| + DisallowHeapAllocation no_allocation;
|
| DependentCode* entries = map->dependent_code();
|
| DependentCode::GroupStartIndexes starts(entries);
|
| int number_of_entries = starts.number_of_entries();
|
|
|