MCPcopy Create free account
hub / github.com/argumentcomputer/ix / deserialize_substring

Function deserialize_substring

crates/compile/src/decompile.rs:249–258  ·  view source on GitHub ↗

Deserialize a Substring from bytes.

(
  buf: &mut &[u8],
  stt: &CompileState,
)

Source from the content-addressed store, hash-verified

247
248 memo
249 .remove(&Arc::as_ptr(&root.0))
250 .expect("intern walk: root not canonicalized")
251 }
252}
253
254/// Per-block decompilation cache.
255///
256/// Index-space invariants (see `load_meta_extensions` for details):
257/// - `sharing` holds the block `Constant.sharing` table and is the target
258/// of `Expr::Share(idx)` lookups produced by whole-block sharing
259/// analysis (`apply_sharing_to_*`). These indices start at 0 and are
260/// block-wide.
261/// - `meta_sharing` holds the per-constant `ConstantMeta.meta_sharing`

Callers 2

deserialize_source_infoFunction · 0.85
deserialize_syntax_innerFunction · 0.85

Calls 3

read_addr_bytesFunction · 0.85
read_stringFunction · 0.85
read_tag0Function · 0.85

Tested by

no test coverage detected