Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_void
Method · 0.80
Calls
2
emit
Method · 0.45
def
Method · 0.45
Tested by
no test coverage detected