aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-03-21 11:41:35 -0700
committeriximeow <me@iximeow.net>2021-03-21 11:41:35 -0700
commit72d1231dd24f5682b0ac752abe8233d750b397e4 (patch)
tree08fd9b9eab8a70380d8dfb70ce4a44077cb81474
parent12251de92baadedbecca2048740959b0f965ffc5 (diff)
fuzzing shows resetting operands is not beneficial
-rw-r--r--src/long_mode/mod.rs6
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)
}