Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index a6e667cd38b43ffd0e9fa4a5e8c6f47a105ed61b..d2413c0e96284e8cfa167b4a8efef91846cb6f95 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -433,7 +433,7 @@ Isolate::Isolate() |
context_slot_cache_(NULL), |
descriptor_lookup_cache_(NULL), |
handle_scope_implementer_(NULL), |
- scanner_constants_(NULL), |
+ unicode_cache_(NULL), |
in_use_list_(0), |
free_list_(0), |
preallocated_storage_preallocated_(false), |
@@ -568,8 +568,8 @@ Isolate::~Isolate() { |
producer_heap_profile_ = NULL; |
#endif |
- delete scanner_constants_; |
- scanner_constants_ = NULL; |
+ delete unicode_cache_; |
+ unicode_cache_ = NULL; |
delete regexp_stack_; |
regexp_stack_ = NULL; |
@@ -676,7 +676,7 @@ bool Isolate::PreInit() { |
keyed_lookup_cache_ = new KeyedLookupCache(); |
context_slot_cache_ = new ContextSlotCache(); |
descriptor_lookup_cache_ = new DescriptorLookupCache(); |
- scanner_constants_ = new ScannerConstants(); |
+ unicode_cache_ = new UnicodeCache(); |
pc_to_code_cache_ = new PcToCodeCache(this); |
write_input_buffer_ = new StringInputBuffer(); |
global_handles_ = new GlobalHandles(this); |