| Index: src/lithium.h
|
| diff --git a/src/lithium.h b/src/lithium.h
|
| index 050b3e5498dac0813c3a79a9e1848dea394e6ec1..edeef44e214cf8aad5da238b944c775aa1103ff6 100644
|
| --- a/src/lithium.h
|
| +++ b/src/lithium.h
|
| @@ -652,6 +652,13 @@ class LChunk : public ZoneObject {
|
| deprecation_dependencies_.insert(map);
|
| }
|
|
|
| + void AddStabilityDependency(Handle<Map> map) {
|
| + ASSERT(map->is_stable());
|
| + if (!map->CanTransition()) return;
|
| + ASSERT(!info_->IsStub());
|
| + stability_dependencies_.insert(map);
|
| + }
|
| +
|
| Zone* zone() const { return info_->zone(); }
|
|
|
| Handle<Code> Codegen();
|
| @@ -680,6 +687,7 @@ class LChunk : public ZoneObject {
|
| ZoneList<LPointerMap*> pointer_maps_;
|
| ZoneList<Handle<JSFunction> > inlined_closures_;
|
| MapSet deprecation_dependencies_;
|
| + MapSet stability_dependencies_;
|
| };
|
|
|
|
|
|
|