aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/long_mode/mod.rs')
-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 b30e4ee..cf40ac5 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -5518,12 +5518,6 @@ impl OpcodeRecord {
}
}
-#[test]
-fn opcode_record_size() {
- // there are more than 256 opcodes...
-// assert_eq!(core::mem::size_of::<OpcodeRecord>(), 4);
-}
-
const OPCODES: [OpcodeRecord; 256] = [
OpcodeRecord::new(Interpretation::Instruction(Opcode::ADD), OperandCode::Eb_Gb),
OpcodeRecord::new(Interpretation::Instruction(Opcode::ADD), OperandCode::Ev_Gv),