Skip to content

Commit 454a8aa

Browse files
authored
ZJIT: Delete a stale comment reporting a wrong default value (#18221)
1 parent 3acc47d commit 454a8aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zjit/src/codegen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use crate::options::{get_option, InlineDepth, PerfMap, DEFAULT_MAX_VERSIONS};
3030
use crate::cast::IntoUsize;
3131

3232
/// Maximum number of compiled versions per ISEQ.
33-
/// Configurable via --zjit-max-versions (default: 2).
33+
/// Configurable via --zjit-max-versions.
3434
pub fn max_iseq_versions() -> usize {
3535
unsafe { crate::options::OPTIONS.as_ref() }
3636
.map_or(DEFAULT_MAX_VERSIONS, |opts| opts.max_versions)

0 commit comments

Comments
 (0)