summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <[email protected]>2025-05-14 19:39:40 +0900
committerAlan Wu <[email protected]>2025-05-14 20:13:26 +0900
commit920dc0fe3aafaf4d70f742abf846d7a2d9c142c4 ()
tree2497df54bd6b7f3591de3124a5211ab0398ea73a
parent4eff1727e3017f1b05e030bfd0ed9c6674d61e2d (diff)
ZJIT: Split long `use` line and add a module doc.
Notes: Merged: https://.com/ruby/ruby/pull/13276
-rw-r--r--zjit/src/hir.rs11
1 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,5 @@
// 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 crate::hir_type::{Type, types};
#[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug)]