Chromium Code Reviews| Index: src/spaces.h |
| diff --git a/src/spaces.h b/src/spaces.h |
| index d8ed27e49033147361a96fea8b75f51f385c23cf..a0f4ba155d28cc6f3bb1211187fb0fbf607848b0 100644 |
| --- a/src/spaces.h |
| +++ b/src/spaces.h |
| @@ -409,6 +409,7 @@ class Space : public Malloced { |
| class CodeRange { |
| public: |
| explicit CodeRange(Isolate* isolate); |
| + ~CodeRange() { TearDown(); } |
| // Reserves a range of virtual memory, but does not commit any of it. |
| // Can only be called once, at heap initialization time. |