diff options
-rw-r--r-- | zjit/src/codegen.rs | 2 | ||||
-rw-r--r-- | zjit/src/hir.rs | 2 | ||||
-rw-r--r-- | zjit/src/options.rs | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/zjit/src/codegen.rs b/zjit/src/codegen.rs index a430fb0774..59f81484d4 100644 --- a/zjit/src/codegen.rs +++ b/zjit/src/codegen.rs @@ -92,7 +92,7 @@ fn iseq_gen_entry_point(iseq: IseqPtr) -> *const u8 { match get_option!(dump_hir_opt) { Some(DumpHIR::WithoutSnapshot) => println!("HIR:\n{}", FunctionPrinter::without_snapshot(&ssa)), Some(DumpHIR::All) => println!("HIR:\n{}", FunctionPrinter::with_snapshot(&ssa)), - Some(DumpHIR::Raw) => println!("HIR:\n{:#?}", &ssa), + Some(DumpHIR::Debug) => println!("HIR:\n{:#?}", &ssa), None => {}, } diff --git a/zjit/src/hir.rs b/zjit/src/hir.rs index 1ff7c7d4cd..5f6b165e9b 100644 --- a/zjit/src/hir.rs +++ b/zjit/src/hir.rs @@ -1448,7 +1448,7 @@ pub fn iseq_to_hir(iseq: *const rb_iseq_t) -> Result<Function, ParseError> { match get_option!(dump_hir) { Some(DumpHIR::WithoutSnapshot) => println!("HIR:\n{}", FunctionPrinter::without_snapshot(&fun)), Some(DumpHIR::All) => println!("HIR:\n{}", FunctionPrinter::with_snapshot(&fun)), - Some(DumpHIR::Raw) => println!("HIR:\n{:#?}", &fun), + Some(DumpHIR::Debug) => println!("HIR:\n{:#?}", &fun), None => {}, } diff --git a/zjit/src/options.rs b/zjit/src/options.rs index 5fd166ffe8..d3e6782b1b 100644 --- a/zjit/src/options.rs +++ b/zjit/src/options.rs @@ -29,7 +29,7 @@ pub enum DumpHIR { // Dump High-level IR with Snapshot All, // Pretty-print bare High-level IR structs - Raw, + Debug, } /// Macro to get an option value by name @@ -99,11 +99,11 @@ fn parse_option(options: &mut Options, str_ptr: *const std::os::raw::c_char) -> ("dump-hir", "") => options.dump_hir = Some(DumpHIR::WithoutSnapshot), ("dump-hir", "all") => options.dump_hir = Some(DumpHIR::All), - ("dump-hir", "raw") => options.dump_hir = Some(DumpHIR::Raw), + ("dump-hir", "debug") => options.dump_hir = Some(DumpHIR::Debug), ("dump-hir-opt", "") => options.dump_hir_opt = Some(DumpHIR::WithoutSnapshot), ("dump-hir-opt", "all") => options.dump_hir_opt = Some(DumpHIR::All), - ("dump-hir-opt", "raw") => options.dump_hir_opt = Some(DumpHIR::Raw), + ("dump-hir-opt", "debug") => options.dump_hir_opt = Some(DumpHIR::Debug), ("dump-disasm", "") => options.dump_disasm = true, |