diff options
author | iximeow <me@iximeow.net> | 2020-08-08 13:27:56 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-08-09 01:38:57 -0700 |
commit | f27c3e042a53d1d1b6e1f81bce243d3b04b9a5c3 (patch) | |
tree | d64d13782dd70d74c66601643d298c4b3eeb61bc /src/long_mode | |
parent | c22532de02b9b050c6a6f5a995a33516201d69b1 (diff) |
crank up the inliner
Diffstat (limited to 'src/long_mode')
-rw-r--r-- | src/long_mode/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index c6c4135..20e5445 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -5614,6 +5614,7 @@ fn read_instr<T: Iterator<Item=u8>>(decoder: &InstDecoder, mut bytes_iter: T, in } Ok(()) } +#[inline(always)] fn read_operands<T: Iterator<Item=u8>>(decoder: &InstDecoder, mut bytes_iter: T, instruction: &mut Instruction, operand_code: OperandCode, length: &mut u8) -> Result<(), DecodeError> { instruction.operand_count = 2; instruction.operands[0] = OperandSpec::RegRRR; |