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

Method get_or_create_block

crates/jit/src/instructions.rs:149–155  ·  view source on GitHub ↗
(&mut self, label: Label)

Source from the content-addressed store, hash-verified

147 }
148
149 fn get_or_create_block(&mut self, label: Label) -> Block {
150 let builder = &mut self.builder;
151 *self
152 .label_to_block
153 .entry(label)
154 .or_insert_with(|| builder.create_block())
155 }
156
157 fn jump_target_forward(offset: u32, caches: u32, arg: OpArg) -> Result<Label, JitCompileError> {
158 let after = offset

Callers 2

compileMethod · 0.80
add_instructionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected