Method
deep_clone
(self: &Arc<Self>, engine: &Engine)
Source from the content-addressed store, hash-verified
| 630 | /// global module registry and used for trap metadata lookups. |
| 631 | #[cfg(feature = "debug")] |
| 632 | pub(crate) fn deep_clone(self: &Arc<Self>, engine: &Engine) -> Result<CodeMemory> { |
| 633 | let mmap = self.mmap.deep_clone()?; |
| 634 | Self::new(engine, mmap) |
| 635 | } |
| 636 | |
| 637 | /// Obtain a frame-table parser on this module's frame state slot |
| 638 | /// (debug instrumentation) metadata. |
Tested by
no test coverage detected