There was an error while loading. Please reload this page.
1 parent 3acc47d commit 454a8aaCopy full SHA for 454a8aa
1 file changed
zjit/src/codegen.rs
@@ -30,7 +30,7 @@ use crate::options::{get_option, InlineDepth, PerfMap, DEFAULT_MAX_VERSIONS};
30
use crate::cast::IntoUsize;
31
32
/// Maximum number of compiled versions per ISEQ.
33
-/// Configurable via --zjit-max-versions (default: 2).
+/// Configurable via --zjit-max-versions.
34
pub fn max_iseq_versions() -> usize {
35
unsafe { crate::options::OPTIONS.as_ref() }
36
.map_or(DEFAULT_MAX_VERSIONS, |opts| opts.max_versions)
0 commit comments