Chromium Code Reviews| Index: src/ast.h |
| diff --git a/src/ast.h b/src/ast.h |
| index 6fb930973cc859e08b31f20deb4b09cba9aab43e..8dac361a0020ef741d9e57c526c3d31f2feca400 100644 |
| --- a/src/ast.h |
| +++ b/src/ast.h |
| @@ -275,6 +275,10 @@ class SmallMapList { |
| list_.Add(handle.location(), zone); |
| } |
| + void Remove(Handle<Map> handle) { |
| + list_.RemoveElement(handle.location()); |
| + } |
| + |
| Handle<Map> at(int i) const { |
| return Handle<Map>(list_.at(i)); |
| } |