Index: src/compilation-info.cc |
diff --git a/src/compilation-info.cc b/src/compilation-info.cc |
index 0a9ce310a7fc592742ae1c2994be8b0ab2257eba..f0930f395ec74489a3598e78497e8d44cc73d5d4 100644 |
--- a/src/compilation-info.cc |
+++ b/src/compilation-info.cc |
@@ -52,10 +52,10 @@ bool CompilationInfo::has_shared_info() const { |
return parse_info_ && !parse_info_->shared_info().is_null(); |
} |
-CompilationInfo::CompilationInfo(ParseInfo* parse_info, |
+CompilationInfo::CompilationInfo(Zone* zone, ParseInfo* parse_info, |
Handle<JSFunction> closure) |
: CompilationInfo(parse_info, {}, Code::ComputeFlags(Code::FUNCTION), BASE, |
- parse_info->isolate(), parse_info->zone()) { |
+ parse_info->isolate(), zone) { |
closure_ = closure; |
// Compiling for the snapshot typically results in different code than |