MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / store

Method store

crates/c/src/lib.rs:3145–3154  ·  view source on GitHub ↗
(&mut self, ty: &str, offset: ArchitectureSize, operands: &[String])

Source from the content-addressed store, hash-verified

3143 }
3144
3145 fn store(&mut self, ty: &str, offset: ArchitectureSize, operands: &[String]) {
3146 uwriteln!(
3147 self.src,
3148 "*(({}*)({} + {})) = {};",
3149 ty,
3150 operands[1],
3151 offset.format(POINTER_SIZE_EXPRESSION),
3152 operands[0]
3153 );
3154 }
3155
3156 fn store_in_retptr(&mut self, operand: &String) {
3157 self.store_op(

Callers 6

set_scalarMethod · 0.45
callbackMethod · 0.45
take_handleMethod · 0.45
dropMethod · 0.45
take_handleMethod · 0.45
emitMethod · 0.45

Calls

no outgoing calls

Tested by 1

set_scalarMethod · 0.36