From c7c6203e61cb6bb85051b96eabd6deae7995a787 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 2 Aug 2018 13:13:32 -0400 Subject: Source map support (#429) This change increases size: out/debug/obj/libdeno/from_snapshot.o 19M -> 34M out/release/deno 32M -> 47M --- src/from_filesystem.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/from_filesystem.cc') diff --git a/src/from_filesystem.cc b/src/from_filesystem.cc index a47808b82..797659de0 100644 --- a/src/from_filesystem.cc +++ b/src/from_filesystem.cc @@ -32,7 +32,7 @@ Deno* NewFromFileSystem(void* data, deno_recv_cb cb) { { v8::HandleScope handle_scope(isolate); auto context = v8::Context::New(isolate); - InitializeContext(isolate, context, BUNDLE_LOCATION, js_source.c_str()); + InitializeContext(isolate, context, BUNDLE_LOCATION, js_source, nullptr); d->context.Reset(d->isolate, context); } -- cgit v1.2.3