Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 8ed1e3c0738ed1d3a5f4c212def5de9deb6c24a5..5c8f049f741df7f10569f1eff5d7e59c1be20ae6 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -352,7 +352,8 @@ bool ComputeLocation(Isolate* isolate, MessageLocation* target) { |
Handle<String> RenderCallSite(Isolate* isolate, Handle<Object> object) { |
MessageLocation location; |
if (ComputeLocation(isolate, &location)) { |
- std::unique_ptr<ParseInfo> info(new ParseInfo(location.shared())); |
+ Zone zone(isolate->allocator(), ZONE_NAME); |
+ std::unique_ptr<ParseInfo> info(new ParseInfo(&zone, location.shared())); |
if (parsing::ParseAny(info.get())) { |
CallPrinter printer(isolate, location.shared()->IsUserJavaScript()); |
Handle<String> str = printer.Print(info->literal(), location.start_pos()); |