summaryrefslogtreecommitdiff
path: root/core/snapshot_util.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-18 18:30:04 -0400
committerGitHub <noreply@github.com>2023-03-18 18:30:04 -0400
commit3c9771deb2d615c47a2570023039c6a71f1c774b (patch)
tree759ce45a956798ddae58108286eafee29414d913 /core/snapshot_util.rs
parenta5ad3a44b5476909f12ae90501d8c7c451669be6 (diff)
Reland "perf(core): preserve ops between snapshots (#18080)" (#18272)
Relanding 4b6305f4f25fc76f974bbdcc9cdb139d5ab8f5f4
Diffstat (limited to 'core/snapshot_util.rs')
-rw-r--r--core/snapshot_util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/snapshot_util.rs b/core/snapshot_util.rs
index 74bd7d8a3..20019f5cc 100644
--- a/core/snapshot_util.rs
+++ b/core/snapshot_util.rs
@@ -121,7 +121,7 @@ fn data_error_to_panic(err: v8::DataError) -> ! {
}
}
-#[derive(Copy, Clone, PartialEq, Eq)]
+#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub(crate) enum SnapshotOptions {
Load,
CreateFromExisting,