Skip to content

Commit eac85f7

Browse files
committed
GC is a bit slower now but only 3-4x
1 parent 1bda788 commit eac85f7

2 files changed

Lines changed: 1 addition & 21 deletions

File tree

SRC/tctx-bind.lsts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ let .bind-global(tctx: TypeContext?, k: CString, nt: Type, dt: Type, blame: AST)
3131
tctx
3232
);
3333

34-
let trace-count = 0_u64;
35-
3634
let .bind-phi(tctx: TypeContext?, k: U64, kt: Type, blame: AST): TypeContext? = (
3735
Some(TypeContext(
3836
tctx.get-or(mk-tctx()).tctx,

tests/regress.rs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,7 @@ fn run_bootstrap(target: &str, leave_tmp: bool, is_v3: bool) -> String {
3434
if !leave_tmp { rm("tmp.c"); };
3535
rm("a.out");
3636

37-
//these exist because GC is slow atm
38-
let mut lm_protect = target.contains("lm-");
39-
//if target.contains("lm-type") { lm_protect = false; };
40-
//if target.contains("lm-ast") { lm_protect = false; };
41-
//if target.contains("lm-tctx") { lm_protect = false; };
42-
43-
let exit = if is_v3 && lm_protect {
44-
Command::new("./bootstrap.exe")
45-
.stdout(std::process::Stdio::piped())
46-
.stderr(std::process::Stdio::piped())
47-
.arg("--v23")
48-
.arg("-o")
49-
.arg("tmp.c")
50-
.arg(target)
51-
.spawn()
52-
.expect("failed to execute process")
53-
.wait_with_output()
54-
.expect("failed to wait for process")
55-
} else if is_v3 {
37+
let exit = if is_v3 {
5638
Command::new("./bootstrap.exe")
5739
.stdout(std::process::Stdio::piped())
5840
.stderr(std::process::Stdio::piped())

0 commit comments

Comments
 (0)