diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-06-18 16:02:08 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-06-19 15:07:31 +0200 |
commit | cc2ae2d316b039ba599e3a8d3aed168ad7e77b10 (patch) | |
tree | 9b96fafe8671b59aaa65ad182de984e09797eba4 /deno2/js | |
parent | 064d889af05365b3d2051f0db800adc1ad977f3a (diff) |
Snapshot clean ups
- Don't call eval() in mock_runtime - not allowed - see js2c.py.
- Don't use v8_use_external_startup_data
- Move MakeSnapshot to snapshot_creator.cc
- Use logging.h in from_snapshot.cc
Diffstat (limited to 'deno2/js')
-rw-r--r-- | deno2/js/mock_runtime.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/deno2/js/mock_runtime.js b/deno2/js/mock_runtime.js index f845dae20..0671fba64 100644 --- a/deno2/js/mock_runtime.js +++ b/deno2/js/mock_runtime.js @@ -1,6 +1,5 @@ // A simple runtime that doesn't involve typescript or protobufs to test // libdeno. Invoked by mock_runtime_test.cc -const window = eval("this"); function assert(cond) { if (!cond) throw Error("mock_runtime.js assert failed"); @@ -68,7 +67,6 @@ function DoubleSubFails() { deno.sub((channel, msg) => assert(false)); } - // The following join has caused SnapshotBug to segfault when using kKeep. [].join(""); |