Index: src/lithium-codegen.cc |
diff --git a/src/lithium-codegen.cc b/src/lithium-codegen.cc |
index b24a062f941e333a4dc65c15a2665706f7371a0f..0d841b7e80a2420c6b906767abcc72d9fa637b40 100644 |
--- a/src/lithium-codegen.cc |
+++ b/src/lithium-codegen.cc |
@@ -221,4 +221,10 @@ void LCodeGenBase::AddDeprecationDependency(Handle<Map> map) { |
chunk_->AddDeprecationDependency(map); |
} |
+ |
+void LCodeGenBase::AddStabilityDependency(Handle<Map> map) { |
+ if (!map->is_stable()) return Abort(kMapBecameUnstable); |
+ chunk_->AddStabilityDependency(map); |
+} |
+ |
} } // namespace v8::internal |