| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 42fcc78406bfa945b9902df124372bab36928235..cbd9be649a142d32a259000bd50ba8e0ec3378d1 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),
|
| + ast_value_factory_(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),
|
| + ast_value_factory_(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),
|
| + ast_value_factory_(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),
|
| + ast_value_factory_(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 ast_value_factory_;
|
| #ifdef DEBUG
|
| // Check that no dependent maps have been added or added dependent maps have
|
| // been rolled back or committed.
|
|
|