Skip to content

Commit

Permalink
Merge pull request #556 from shiika-lang/new-verifier
Browse files Browse the repository at this point in the history
Move verifier.rs
  • Loading branch information
yhara authored Nov 4, 2024
2 parents 00abe2d + 31575f6 commit 32b53ed
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/skc_async_experiment/src/hir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pub mod rewriter;
mod ty;
pub mod typing;
pub mod untyped;
pub mod verifier;
pub mod visitor;
use crate::names::FunctionName;
pub use expr::{CastType, Expr, PseudoVar, Typed, TypedExpr};
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion lib/skc_async_experiment/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ mod names;
pub mod prelude;
pub mod run;
mod targets;
mod verifier;
4 changes: 2 additions & 2 deletions lib/skc_async_experiment/src/run.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::names::FunctionName;
use crate::{codegen, hir, hir_lowering, linker, prelude, verifier};
use crate::{codegen, hir, hir_lowering, linker, prelude};
use anyhow::{bail, Context, Result};
use shiika_parser::{Parser, SourceFile};
use std::io::Write;
Expand Down Expand Up @@ -37,7 +37,7 @@ impl Main {
hir.funcs.append(&mut prelude::funcs(main_is_async(&hir)?));

self.log(&format!("# -- verifier input --\n{hir}\n"));
verifier::run(&hir)?;
hir::verifier::run(&hir)?;

let bc_path = path.with_extension("bc");
let ll_path = path.with_extension("ll");
Expand Down

0 comments on commit 32b53ed

Please sign in to comment.