summaryrefslogtreecommitdiff
path: root/zjit/src/lib.rs
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2025-02-12 14:30:11 -0800
committerTakashi Kokubun <[email protected]>2025-04-18 21:52:58 +0900
commit5f3ebd44de96a352c7b353c647afedd6af81171f ()
treef6d383477bb96c7299db398be748c5d7ed18193a /zjit/src/lib.rs
parentde8d4c83d81cb6bed0069e94db745c7c43b07ec7 (diff)
Add a comment to dump the actual structs
Notes: Merged: https://.com/ruby/ruby/pull/13131
-rw-r--r--zjit/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,6 @@ mod disasm;
mod options;
use codegen::gen_leave;
-use ir::FunctionPrinter;
use options::get_option;
use state::ZJITState;
use crate::cruby::*;
@@ -83,7 +82,8 @@ pub extern "C" fn rb_zjit_iseq_gen_entry_point(iseq: IseqPtr, _ec: EcPtr) -> *co
let _ssa = match ir::iseq_to_ssa(iseq) {
Ok(ssa) => {
if get_option!(dump_ssa) {
- print!("SSA:\n{}", FunctionPrinter::from(&ssa));
}
ssa
},