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

Method emit_return_value

crates/codegen/src/compile.rs:9590–9592  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

9588 }
9589
9590 fn emit_return_value(&mut self) {
9591 emit!(self, Instruction::ReturnValue)
9592 }
9593
9594 fn current_code_info(&mut self) -> &mut ir::CodeInfo {
9595 self.code_stack.last_mut().expect("no code on stack")

Callers 8

compile_block_exprMethod · 0.80
compile_evalMethod · 0.80
compile_statementMethod · 0.80
compile_class_bodyMethod · 0.80
compile_class_defMethod · 0.80
compile_expressionMethod · 0.80
compile_comprehensionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected