We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 597f312 commit 545f054Copy full SHA for 545f054
1 file changed
zjit/src/state.rs
@@ -102,6 +102,7 @@ static mut ZJIT_STATE: InitializationState = InitializationState::Uninitialized;
102
impl ZJITState {
103
/// Initialize the ZJIT globals. Return the address of the JIT entry trampoline.
104
pub fn init() -> *const u8 {
105
+ assert_eq!(std::mem::size_of::<crate::hir::Insn>(), 112, "Insn size changed; please update this assertion if intentional");
106
use InitializationState::*;
107
108
let initialization_state = unsafe {
0 commit comments