MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / next_opcode

Method next_opcode

aiscript-vm/src/vm/state.rs:74–78  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

72
73impl<'gc> CallFrame<'gc> {
74 fn next_opcode(&mut self) -> OpCode {
75 let byte = self.closure.function[self.ip];
76 self.ip += 1;
77 byte
78 }
79
80 fn read_constant(&mut self, byte: u8) -> Value<'gc> {
81 self.closure.function.read_constant(byte)

Callers 1

dispatch_nextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected