| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 06a056a9173e372f117f5bcbc37e233ca75f8b88..d35532f04583f2fcf6ba934d87d42cae3c481d4c 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -61,8 +61,7 @@ CompilationInfo::CompilationInfo(Handle<Script> script, Zone* zone)
|
| extension_(NULL),
|
| pre_parse_data_(NULL),
|
| osr_ast_id_(AstNode::kNoNumber),
|
| - zone_(zone),
|
| - deferred_handles_(NULL) {
|
| + zone_(zone) {
|
| Initialize(BASE);
|
| }
|
|
|
| @@ -80,8 +79,7 @@ CompilationInfo::CompilationInfo(Handle<SharedFunctionInfo> shared_info,
|
| extension_(NULL),
|
| pre_parse_data_(NULL),
|
| osr_ast_id_(AstNode::kNoNumber),
|
| - zone_(zone),
|
| - deferred_handles_(NULL) {
|
| + zone_(zone) {
|
| Initialize(BASE);
|
| }
|
|
|
| @@ -99,17 +97,11 @@ CompilationInfo::CompilationInfo(Handle<JSFunction> closure, Zone* zone)
|
| extension_(NULL),
|
| pre_parse_data_(NULL),
|
| osr_ast_id_(AstNode::kNoNumber),
|
| - zone_(zone),
|
| - deferred_handles_(NULL) {
|
| + zone_(zone) {
|
| Initialize(BASE);
|
| }
|
|
|
|
|
| -CompilationInfo::~CompilationInfo() {
|
| - delete deferred_handles_;
|
| -}
|
| -
|
| -
|
| // Disable optimization for the rest of the compilation pipeline.
|
| void CompilationInfo::DisableOptimization() {
|
| bool is_optimizable_closure =
|
|
|