MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / next_code_index

Method next_code_index

crates/jit-debug/src/perf_jitdump.rs:204–208  ·  view source on GitHub ↗

Returns the next code index

(&mut self)

Source from the content-addressed store, hash-verified

202
203 /// Returns the next code index
204 pub fn next_code_index(&mut self) -> u64 {
205 let code_index = self.code_index;
206 self.code_index += 1;
207 code_index
208 }
209
210 /// Helper function to write `bytes` to the jitdump file.
211 ///

Callers 1

dump_code_load_recordMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected