aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-08-08 13:27:56 -0700
committeriximeow <me@iximeow.net>2020-08-09 01:38:57 -0700
commitf27c3e042a53d1d1b6e1f81bce243d3b04b9a5c3 (patch)
treed64d13782dd70d74c66601643d298c4b3eeb61bc /src
parentc22532de02b9b050c6a6f5a995a33516201d69b1 (diff)
crank up the inliner
Diffstat (limited to 'src')
-rw-r--r--src/long_mode/mod.rs1
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;