Skip to content

Commit d6b4ae3

Browse files
committed
Inline Processor::step
1 parent 9e293bf commit d6b4ae3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/vm/processor.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ impl Processor {
295295
/// # Safety
296296
///
297297
/// Calling this method on a processor with no instructions is undefined behavior.
298+
#[inline(always)]
298299
pub unsafe fn step(&mut self, vm: &LogicVM) -> InstructionResult {
299300
let mut counter = self.state.counter;
300301
if counter >= self.instructions.len() {

0 commit comments

Comments
 (0)