MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / FrameImpl

Method FrameImpl

src/wasm-v8.cc:1210–1220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1208
1209struct FrameImpl : Frame {
1210 FrameImpl(
1211 own<Instance>&& instance, uint32_t func_index,
1212 size_t func_offset, size_t module_offset
1213 ) :
1214 instance(std::move(instance)),
1215 func_index(func_index),
1216 func_offset(func_offset),
1217 module_offset(module_offset)
1218 {
1219 stats.make(Stats::FRAME, this);
1220 }
1221
1222 ~FrameImpl() { stats.free(Stats::FRAME, this); }
1223

Callers

nothing calls this directly

Calls 1

makeMethod · 0.45

Tested by

no test coverage detected