| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 4d70442e3daa93df14e02cc0acdf98d97508ae5c..67706485481f5c10d5961dc36d7e89f6bd8e6372 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -35,6 +35,7 @@
|
| #include "isolate.h"
|
| #include "log.h"
|
| #include "serialize.h"
|
| +#include "scanner.h"
|
| #include "scopeinfo.h"
|
| #include "simulator.h"
|
| #include "stub-cache.h"
|
| @@ -115,7 +116,8 @@ Isolate::Isolate()
|
| keyed_lookup_cache_(new KeyedLookupCache()),
|
| context_slot_cache_(new ContextSlotCache()),
|
| descriptor_lookup_cache_(new DescriptorLookupCache()),
|
| - handle_scope_implementer_(NULL) {
|
| + handle_scope_implementer_(NULL),
|
| + scanner_character_classes_(new ScannerCharacterClasses()) {
|
| heap_.isolate_ = this;
|
| stack_guard_.isolate_ = this;
|
|
|
| @@ -134,6 +136,9 @@ Isolate::Isolate()
|
|
|
|
|
| Isolate::~Isolate() {
|
| + delete scanner_character_classes_;
|
| + scanner_character_classes_ = NULL;
|
| +
|
| delete descriptor_lookup_cache_;
|
| descriptor_lookup_cache_ = NULL;
|
| delete context_slot_cache_;
|
|
|