1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/core/libdeno
Ryan Dahl f7fdb90fd5
core: snapshot improvements (#2052)
* Moves how snapshots are supplied to the Isolate. Previously they were
  given by Behavior::startup_data() but it was only called once at
  startup. It makes more sense (and simplifies Behavior) to pass it to the
  constructor of Isolate.
* Adds new libdeno type deno_snapshot instead of overloading
  deno_buf.
* Adds new libdeno method to delete snapshot deno_snapshot_delete().
* Renames deno_get_snapshot() to deno_snapshot_new().
* Makes StartupData hold references to snapshots. This was implicit when
  it previously held a deno_buf but is made explicit now. Note that
  include_bytes!() returns a &'static [u8] and we want to avoid
  copying that.
2019-04-08 10:12:43 -04:00
..
api.cc core: snapshot improvements (#2052) 2019-04-08 10:12:43 -04:00
binding.cc Move //libdeno to //core/libdeno (#2015) 2019-03-30 14:45:36 -04:00
BUILD.gn Move //libdeno to //core/libdeno (#2015) 2019-03-30 14:45:36 -04:00
deno.h core: snapshot improvements (#2052) 2019-04-08 10:12:43 -04:00
exceptions.cc Move //libdeno to //core/libdeno (#2015) 2019-03-30 14:45:36 -04:00
exceptions.h Move //libdeno to //core/libdeno (#2015) 2019-03-30 14:45:36 -04:00
file_util.cc Move //libdeno to //core/libdeno (#2015) 2019-03-30 14:45:36 -04:00
file_util.h Move //libdeno to //core/libdeno (#2015) 2019-03-30 14:45:36 -04:00
file_util_test.cc Move //libdeno to //core/libdeno (#2015) 2019-03-30 14:45:36 -04:00
internal.h core: snapshot improvements (#2052) 2019-04-08 10:12:43 -04:00
libdeno.d.ts Move //libdeno to //core/libdeno (#2015) 2019-03-30 14:45:36 -04:00
libdeno_test.cc core: snapshot improvements (#2052) 2019-04-08 10:12:43 -04:00
libdeno_test.js Move //libdeno to //core/libdeno (#2015) 2019-03-30 14:45:36 -04:00
modules.cc Move //libdeno to //core/libdeno (#2015) 2019-03-30 14:45:36 -04:00
modules_test.cc core: snapshot improvements (#2052) 2019-04-08 10:12:43 -04:00
snapshot_creator.cc core: snapshot improvements (#2052) 2019-04-08 10:12:43 -04:00
test.cc core: snapshot improvements (#2052) 2019-04-08 10:12:43 -04:00
test.h core: snapshot improvements (#2052) 2019-04-08 10:12:43 -04:00