From 72d1231dd24f5682b0ac752abe8233d750b397e4 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 21 Mar 2021 11:41:35 -0700 Subject: fuzzing shows resetting operands is not beneficial --- src/long_mode/mod.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/long_mode') diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index 1e3f568..cb3d699 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -9354,12 +9354,6 @@ fn decode_x87>(_decoder: &InstDecoder, mut bytes_iter: T, i } fn decode_one<'b, T: IntoIterator>(decoder: &InstDecoder, bytes: T, instr: &'b mut Instruction) -> Result<(), DecodeError> { - instr.operands = [ - OperandSpec::Nothing, - OperandSpec::Nothing, - OperandSpec::Nothing, - OperandSpec::Nothing, - ]; let bytes_iter = bytes.into_iter(); read_instr(decoder, bytes_iter, instr) } -- cgit v1.1