Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 4dbea3f8620e05a55dd91d469a8eacea5ece4532..6b7af7de9f841223743b44a6d1136f8ce1d45242 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -38,7 +38,8 @@ CompilationInfo::CompilationInfo(Handle<Script> script, |
osr_ast_id_(BailoutId::None()), |
parameter_count_(0), |
this_has_uses_(true), |
- optimization_id_(-1) { |
+ optimization_id_(-1), |
+ string_table_(NULL) { |
Initialize(script->GetIsolate(), BASE, zone); |
} |
@@ -51,7 +52,8 @@ CompilationInfo::CompilationInfo(Handle<SharedFunctionInfo> shared_info, |
osr_ast_id_(BailoutId::None()), |
parameter_count_(0), |
this_has_uses_(true), |
- optimization_id_(-1) { |
+ optimization_id_(-1), |
+ string_table_(NULL) { |
Initialize(script_->GetIsolate(), BASE, zone); |
} |
@@ -66,7 +68,8 @@ CompilationInfo::CompilationInfo(Handle<JSFunction> closure, |
osr_ast_id_(BailoutId::None()), |
parameter_count_(0), |
this_has_uses_(true), |
- optimization_id_(-1) { |
+ optimization_id_(-1), |
+ string_table_(NULL) { |
Initialize(script_->GetIsolate(), BASE, zone); |
} |
@@ -78,7 +81,8 @@ CompilationInfo::CompilationInfo(HydrogenCodeStub* stub, |
osr_ast_id_(BailoutId::None()), |
parameter_count_(0), |
this_has_uses_(true), |
- optimization_id_(-1) { |
+ optimization_id_(-1), |
+ string_table_(NULL) { |
Initialize(isolate, STUB, zone); |
code_stub_ = stub; |
} |
@@ -131,6 +135,7 @@ void CompilationInfo::Initialize(Isolate* isolate, |
CompilationInfo::~CompilationInfo() { |
delete deferred_handles_; |
delete no_frame_ranges_; |
+ delete string_table_; |
#ifdef DEBUG |
// Check that no dependent maps have been added or added dependent maps have |
// been rolled back or committed. |