summaryrefslogtreecommitdiff
path: root/src/from_filesystem.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-08-02 13:13:32 -0400
committerGitHub <noreply@github.com>2018-08-02 13:13:32 -0400
commitc7c6203e61cb6bb85051b96eabd6deae7995a787 (patch)
treeef463466f34fd72a4ac5a30eecd3cc94254f321f /src/from_filesystem.cc
parente30bdb71aa8b9902078e1ed8e7d014a68eb9eb2e (diff)
Source map support (#429)
This change increases size: out/debug/obj/libdeno/from_snapshot.o 19M -> 34M out/release/deno 32M -> 47M
Diffstat (limited to 'src/from_filesystem.cc')
-rw-r--r--src/from_filesystem.cc2
1 files changed, 1 insertions, 1 deletions
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);
}