Skip to content

Commit e1c2a7b

Browse files
committed
Fix previous commit.
1 parent 6c6f3ab commit e1c2a7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/processor/instructions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ impl<'a, I> Iterator for InstructionDecoder<I> where I: Iterator<Item=&'a u8> {
134134
oparg = (oparg << 8) | (*self.bytestream.next().unwrap() as usize);
135135
self.pending_nops += 1;
136136
}
137+
self.pending_nops -= 1;
137138
let inst = match opcode {
138139
1 => Instruction::PopTop,
139140
4 => Instruction::DupTop,

0 commit comments

Comments
 (0)