| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 2873525604cf0a777546b64a11d5aac1586b9b22..16ef86efabb0e2412ef0cd676b7e5eaaaa79e1f5 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),
|
| + symbol_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),
|
| + symbol_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),
|
| + symbol_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),
|
| + symbol_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 symbol_table_;
|
| #ifdef DEBUG
|
| // Check that no dependent maps have been added or added dependent maps have
|
| // been rolled back or committed.
|
|
|