From 5603dee9195f6604e293744b8863234124d67913 Mon Sep 17 00:00:00 2001 From: Sergey Shulepov Date: Sat, 1 Oct 2022 12:12:52 +0100 Subject: [PATCH] Update inst_size_test --- cranelift/codegen/src/isa/x64/inst/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cranelift/codegen/src/isa/x64/inst/mod.rs b/cranelift/codegen/src/isa/x64/inst/mod.rs index ae92b7307ef2..2baaa9be261e 100644 --- a/cranelift/codegen/src/isa/x64/inst/mod.rs +++ b/cranelift/codegen/src/isa/x64/inst/mod.rs @@ -48,7 +48,7 @@ pub struct CallInfo { fn inst_size_test() { // This test will help with unintentionally growing the size // of the Inst enum. - assert_eq!(48, std::mem::size_of::()); + assert_eq!(40, std::mem::size_of::()); } pub(crate) fn low32_will_sign_extend_to_64(x: u64) -> bool {