Index: src/lithium-codegen.cc |
diff --git a/src/lithium-codegen.cc b/src/lithium-codegen.cc |
index 0a7690cf4c72fc8a8192cc52b43cf69fb9e6e31d..0d841b7e80a2420c6b906767abcc72d9fa637b40 100644 |
--- a/src/lithium-codegen.cc |
+++ b/src/lithium-codegen.cc |
@@ -216,6 +216,12 @@ void LCodeGenBase::Abort(BailoutReason reason) { |
} |
+void LCodeGenBase::AddDeprecationDependency(Handle<Map> map) { |
+ if (map->is_deprecated()) return Abort(kMapBecameDeprecated); |
+ chunk_->AddDeprecationDependency(map); |
+} |
+ |
+ |
void LCodeGenBase::AddStabilityDependency(Handle<Map> map) { |
if (!map->is_stable()) return Abort(kMapBecameUnstable); |
chunk_->AddStabilityDependency(map); |