ZJIT: Split long use line and add a module doc.

This commit is contained in:
Alan Wu 2025-05-14 19:39:40 +09:00
parent 4eff1727e3
commit 920dc0fe3a
Notes: git 2025-05-14 11:13:39 +00:00

View File

@ -1,3 +1,5 @@
//! High level intermediary representation.
// We use the YARV bytecode constants which have a CRuby-style name
#![allow(non_upper_case_globals)]
@ -8,7 +10,14 @@ use crate::{
state::ZJITState,
cast::IntoUsize,
};
use std::{cell::RefCell, collections::{HashMap, HashSet, VecDeque}, ffi::c_void, mem::{align_of, size_of}, ptr, slice::Iter};
use std::{
cell::RefCell,
collections::{HashMap, HashSet, VecDeque},
ffi::{c_int, c_void},
mem::{align_of, size_of},
ptr,
slice::Iter
};
use crate::hir_type::{Type, types};
#[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug)]