allow dead code for testing

This commit is contained in:
Brendan Hansknecht 2022-06-30 08:09:20 -07:00
parent 013d3ff461
commit e65058d75b
No known key found for this signature in database
GPG key ID: 0EA784685083E75B

View file

@ -34,6 +34,7 @@ pub enum X86_64GeneralReg {
R15 = 15,
}
impl X86_64GeneralReg {
#[allow(dead_code)]
fn low_8bits_string(&self) -> &str {
match self {
X86_64GeneralReg::RAX => "al",