MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / ret

Method ret

crates/rustc_codegen_spirv/src/builder/builder_methods.rs:771–773  ·  view source on GitHub ↗
(&mut self, value: Self::Value)

Source from the content-addressed store, hash-verified

769 }
770
771 fn ret(&mut self, value: Self::Value) {
772 self.emit().ret_value(value.def(self)).unwrap();
773 }
774
775 fn br(&mut self, dest: Self::BasicBlock) {
776 self.emit().branch(dest).unwrap();

Callers 1

ret_voidMethod · 0.80

Calls 2

emitMethod · 0.45
defMethod · 0.45

Tested by

no test coverage detected