Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index d0454fb059271912518ead496d6d95c01507e46c..91b4b5f38b8eb9c1e8275b06176f2cf53bacc024 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -288,6 +288,14 @@ class SmallMapList V8_FINAL { |
Add(map, zone); |
} |
+ void FilterForPossibleTransitions(Map* root_map, Zone* zone) { |
Michael Starzinger
2013/09/05 20:07:23
The "zone" parameter is obsolete, as we only remov
Toon Verwaest
2013/09/06 09:23:12
Done.
|
+ for (int i = list_.length() - 1; i >= 0; i--) { |
+ if (at(i)->FindRootMap() != root_map) { |
+ list_.RemoveElement(list_.at(i)); |
+ } |
+ } |
+ } |
+ |
void Add(Handle<Map> handle, Zone* zone) { |
list_.Add(handle.location(), zone); |
} |