Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 38f238b1cdd76e7fc90f21b7689c33b7201ac268..370b190107fa6be6e99a8635e88d15b331d88a1b 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -163,18 +163,18 @@ RUNTIME_FUNCTION(Runtime_RenderCallSite) { |
isolate->ComputeLocation(&location); |
if (location.start_pos() == -1) return isolate->heap()->empty_string(); |
- Zone zone(isolate); |
+ Zone zone; |
if (location.function()->shared()->is_function()) { |
CompilationInfo info(location.function(), &zone); |
if (!Parser::Parse(&info)) return isolate->heap()->empty_string(); |
- CallPrinter printer(&zone); |
+ CallPrinter printer(isolate, &zone); |
const char* string = printer.Print(info.function(), location.start_pos()); |
return *isolate->factory()->NewStringFromAsciiChecked(string); |
} |
CompilationInfo info(location.script(), &zone); |
if (!Parser::Parse(&info)) return isolate->heap()->empty_string(); |
- CallPrinter printer(&zone); |
+ CallPrinter printer(isolate, &zone); |
const char* string = printer.Print(info.function(), location.start_pos()); |
return *isolate->factory()->NewStringFromAsciiChecked(string); |
} |