apply Ayaz review suggestions

This commit is contained in:
Anton-4 2024-04-30 19:34:21 +02:00
parent c1d0c24194
commit ec874655dd
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
3 changed files with 17 additions and 25 deletions

View file

@ -335,7 +335,8 @@ pub fn helper<'a>(
let (main_fn_name, delayed_errors, module) =
create_llvm_module(arena, src, config, context, target, function_kind);
//module.print_to_file(std::path::Path::new("/home/username/gitrepos/roc4/roc/str_to_u128.ll")).unwrap();
// for debugging:
//module.print_to_file(std::path::Path::new("/home/username/roc/llvm_ir.ll")).unwrap();
if !config.emit_debug_info {
module.strip_debug_info();