| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index f8c6564f002793bc2b1781ddbefafbc0d57240b5..aa870e0cff516eec113cae8a72a3926795ca864f 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -11265,6 +11265,7 @@ class DeoptimizeDependentCodeFilter : public OptimizedFunctionFilter {
|
| void DependentCode::DeoptimizeDependentCodeGroup(
|
| Isolate* isolate,
|
| DependentCode::DependencyGroup group) {
|
| + ASSERT(AllowCodeDependencyChange::IsAllowed());
|
| DisallowHeapAllocation no_allocation_scope;
|
| DependentCode::GroupStartIndexes starts(this);
|
| int start = starts.at(group);
|
| @@ -11277,7 +11278,7 @@ void DependentCode::DeoptimizeDependentCodeGroup(
|
| code->set_marked_for_deoptimization(true);
|
| } else {
|
| CompilationInfo* info = compilation_info_at(i);
|
| - info->AbortDueToDependentMap();
|
| + info->AbortDueToDependencyChange();
|
| }
|
| }
|
| // Compact the array by moving all subsequent groups to fill in the new holes.
|
|
|