MCPcopy Create free account
hub / github.com/arialang/aria / write_opcode

Method write_opcode

compiler-lib/src/func_builder.rs:60–63  ·  view source on GitHub ↗
(&self, op: CompilerOpcode)

Source from the content-addressed store, hash-verified

58
59 #[deprecated(note = "use write_opcode_and_source_info")]
60 pub fn write_opcode(&self, op: CompilerOpcode) -> &Self {
61 self.writer.borrow_mut().push(op.into());
62 self
63 }
64
65 pub fn write_opcode_and_source_info(&self, op: CompilerOpcode, src: SourcePointer) -> &Self {
66 let bbe = BasicBlockEntry { op, src: Some(src) };

Callers 1

writeMethod · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected