| Index: src/compilation-dependencies.cc
|
| diff --git a/src/compilation-dependencies.cc b/src/compilation-dependencies.cc
|
| index 2d48153db03458d2adf40c26ca64cafc8889600c..c9c194f19ff056cd1c279f13befede4d67ff377b 100644
|
| --- a/src/compilation-dependencies.cc
|
| +++ b/src/compilation-dependencies.cc
|
| @@ -106,6 +106,15 @@ void CompilationDependencies::Rollback() {
|
| }
|
|
|
|
|
| +void CompilationDependencies::AssumeMapNotDeprecated(Handle<Map> map) {
|
| + DCHECK(!map->is_deprecated());
|
| + // Do nothing if the map cannot be deprecated.
|
| + if (map->CanBeDeprecated()) {
|
| + Insert(DependentCode::kTransitionGroup, map);
|
| + }
|
| +}
|
| +
|
| +
|
| void CompilationDependencies::AssumeMapStable(Handle<Map> map) {
|
| DCHECK(map->is_stable());
|
| // Do nothing if the map cannot transition.
|
|
|