diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2022-10-20 17:17:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-20 17:17:00 -0400 |
commit | 2930302244037b0b08da65176eb725541b3ef800 (patch) | |
tree | 574ccf4588437cd265382e65e3498f817ca7ecba /yjit | |
parent | 9a0a165a5d6d0bc4ed18cb92d05593796f703359 (diff) | |
download | ruby-2930302244037b0b08da65176eb725541b3ef800.tar.gz |
YJIT: remove some stale comments [ci skip]
Diffstat (limited to 'yjit')
-rw-r--r-- | yjit/src/codegen.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index 5d144458e8..4190c9cc40 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -1,7 +1,6 @@ // We use the YARV bytecode constants which have a CRuby-style name #![allow(non_upper_case_globals)] -//use crate::asm::x86_64::*; use crate::asm::*; use crate::backend::ir::*; use crate::core::*; @@ -24,13 +23,6 @@ use std::slice; pub use crate::virtualmem::CodePtr; -// A block that can be invalidated needs space to write a jump. -// We'll reserve a minimum size for any block that could -// be invalidated. In this case the JMP takes 5 bytes, but -// gen_send_general will always MOV the receiving object -// into place, so 2 bytes are always written automatically. -//pub const JUMP_SIZE_IN_BYTES: usize = 3; - /// Status returned by code generation functions #[derive(PartialEq, Debug)] enum CodegenStatus { |