Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index f203c33d1fe3f80b62dbebfa4153888a5be375cd..9dbe849b0c726b99ff53efcdd189b2f0b62b37ce 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -7489,7 +7489,7 @@ static bool CompileLazyHelper(CompilationInfo* info, |
bool SharedFunctionInfo::CompileLazy(Handle<SharedFunctionInfo> shared, |
ClearExceptionFlag flag) { |
ASSERT(shared->allows_lazy_compilation_without_context()); |
- CompilationInfo info(shared); |
+ CompilationInfoWithZone info(shared); |
return CompileLazyHelper(&info, flag); |
} |
@@ -7550,7 +7550,7 @@ bool JSFunction::CompileLazy(Handle<JSFunction> function, |
function->shared()->set_code_age(0); |
} else { |
ASSERT(function->shared()->allows_lazy_compilation()); |
- CompilationInfo info(function); |
+ CompilationInfoWithZone info(function); |
result = CompileLazyHelper(&info, flag); |
ASSERT(!result || function->is_compiled()); |
} |
@@ -7561,7 +7561,7 @@ bool JSFunction::CompileLazy(Handle<JSFunction> function, |
bool JSFunction::CompileOptimized(Handle<JSFunction> function, |
int osr_ast_id, |
ClearExceptionFlag flag) { |
- CompilationInfo info(function); |
+ CompilationInfoWithZone info(function); |
info.SetOptimizing(osr_ast_id); |
return CompileLazyHelper(&info, flag); |
} |