Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 58fb40b42369093285fd521e163e00d84488d16f..995ed36f0228b9982dd08f50fc9ef0dd54406b9d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -11354,6 +11354,7 @@ bool DependentCode::Contains(DependencyGroup group, Code* code) { |
void DependentCode::DeoptimizeDependentCodeGroup( |
Isolate* isolate, |
DependentCode::DependencyGroup group) { |
+ ASSERT(AllowCodeDependencyChange::IsAllowed()); |
DisallowHeapAllocation no_allocation_scope; |
DependentCode::GroupStartIndexes starts(this); |
int start = starts.at(group); |