mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-05 06:47:11 +00:00
Update src/browser/js/Snapshot.zig
Co-authored-by: Pierre Tachoire <pierre@lightpanda.io>
This commit is contained in:
@@ -36,7 +36,7 @@ const embedded_snapshot_blob = if (@import("build_config").snapshot_path) |path|
|
|||||||
// You cannot, from what I can tell, create persisted FunctionTemplates at
|
// You cannot, from what I can tell, create persisted FunctionTemplates at
|
||||||
// snapshot creation time. But you can embedd those templates (or any other v8
|
// snapshot creation time. But you can embedd those templates (or any other v8
|
||||||
// Data) so that it's available to contexts created from the snapshot. This is
|
// Data) so that it's available to contexts created from the snapshot. This is
|
||||||
// the starting index of those function templtes, which we can extract. At
|
// the starting index of those function templates, which we can extract. At
|
||||||
// creation time, in debug, we assert that this is actually a consecutive integer
|
// creation time, in debug, we assert that this is actually a consecutive integer
|
||||||
// sequence
|
// sequence
|
||||||
data_start: usize,
|
data_start: usize,
|
||||||
|
|||||||
Reference in New Issue
Block a user