Index: src/optimizing-compile-dispatcher.cc |
diff --git a/src/optimizing-compile-dispatcher.cc b/src/optimizing-compile-dispatcher.cc |
index a6ac143748fb92252cf456e6853b7dea5d67e6ba..707733947ba6ac5c8eaa66e325ca6a17d0c82163 100644 |
--- a/src/optimizing-compile-dispatcher.cc |
+++ b/src/optimizing-compile-dispatcher.cc |
@@ -16,14 +16,11 @@ namespace internal { |
namespace { |
void DisposeCompilationJob(CompilationJob* job, bool restore_function_code) { |
- // The recompile job is allocated in the CompilationInfo's zone. |
- CompilationInfo* info = job->info(); |
if (restore_function_code) { |
- Handle<JSFunction> function = info->closure(); |
+ Handle<JSFunction> function = job->info()->closure(); |
function->ReplaceCode(function->shared()->code()); |
} |
delete job; |
- delete info; |
} |
} // namespace |