diff options
author | iximeow <me@iximeow.net> | 2021-03-21 11:41:35 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-03-21 11:41:35 -0700 |
commit | 72d1231dd24f5682b0ac752abe8233d750b397e4 (patch) | |
tree | 08fd9b9eab8a70380d8dfb70ce4a44077cb81474 | |
parent | 12251de92baadedbecca2048740959b0f965ffc5 (diff) |
fuzzing shows resetting operands is not beneficial
-rw-r--r-- | src/long_mode/mod.rs | 6 |
1 files changed, 0 insertions, 6 deletions
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<T: Iterator<Item=u8>>(_decoder: &InstDecoder, mut bytes_iter: T, i } fn decode_one<'b, T: IntoIterator<Item=u8>>(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) } |