Commit 48b06536 authored by jochen's avatar jochen Committed by Commit bot

When resetting compile jobs, delete the zone last

The destructors of the parse info, compile info, and compilation job
might still access the zone

BUG=none
R=machenbach@chromium.org

Review-Url: https://codereview.chromium.org/2616883003
Cr-Commit-Position: refs/heads/master@{#42089}
parent 68f1a37f
......@@ -250,10 +250,10 @@ void CompilerDispatcherJob::ResetOnMainThread() {
unicode_cache_.reset();
character_stream_.reset();
parse_info_.reset();
zone_.reset();
handles_from_parsing_.reset();
compile_info_.reset();
compile_job_.reset();
zone_.reset();
if (!source_.is_null()) {
i::GlobalHandles::Destroy(Handle<Object>::cast(source_).location());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment