MCPcopy Index your code
hub / github.com/RustPython/RustPython / to_cranelift

Method to_cranelift

crates/jit/src/lib.rs:199–205  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

197
198impl JitType {
199 fn to_cranelift(&self) -> types::Type {
200 match self {
201 Self::Int => types::I64,
202 Self::Float => types::F64,
203 Self::Bool => types::I8,
204 }
205 }
206
207 fn to_libffi(&self) -> libffi::middle::Type {
208 match self {

Callers 3

build_functionMethod · 0.80
store_variableMethod · 0.80
return_valueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected