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

Method emit_arg

crates/codegen/src/compile.rs:9391–9398  ·  view source on GitHub ↗
(
        &mut self,
        arg: T,
        f: impl FnOnce(OpArgMarker<A>) -> I,
    )

Source from the content-addressed store, hash-verified

9389 }
9390
9391 fn emit_arg<A: OpArgType, T: EmitArg<A>, I: Into<AnyInstruction>>(
9392 &mut self,
9393 arg: T,
9394 f: impl FnOnce(OpArgMarker<A>) -> I,
9395 ) {
9396 let (op, arg, target) = arg.emit(f);
9397 self._emit(op, arg, target)
9398 }
9399
9400 // fn block_done()
9401

Callers 8

emit_load_constMethod · 0.80
emit_load_attrMethod · 0.80
emit_load_attr_methodMethod · 0.80
emit_load_globalMethod · 0.80
emit_load_super_attrMethod · 0.80

Calls 2

emitMethod · 0.45
_emitMethod · 0.45

Tested by

no test coverage detected