x64: Shrink Inst from 72 to 48 bytes (#4514)

https://github.com/bytecodealliance/wasmtime/pull/4514
This commit is contained in:
Trevor Elliott
2022-07-27 10:39:22 -07:00
committed by GitHub
parent 285bc5ce24
commit 7ac6134894
8 changed files with 11 additions and 9 deletions

View File

@@ -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!(72, std::mem::size_of::<Inst>());
assert_eq!(48, std::mem::size_of::<Inst>());
}
pub(crate) fn low32_will_sign_extend_to_64(x: u64) -> bool {