From cea7f1fa5c592c2405038f16c6ffc249c147c26c Mon Sep 17 00:00:00 2001
From: koniifer <koniifer@proton.me>
Date: Fri, 15 Nov 2024 19:46:36 +0000
Subject: [PATCH] use new register allocator by default

---
 Cargo.lock          |  6 +++---
 repbuild/src/dev.rs | 10 +++-------
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index ddd7fea..17a86d6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -228,12 +228,12 @@ dependencies = [
 [[package]]
 name = "hbbytecode"
 version = "0.1.0"
-source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#81cf39b602a64242f2bfb22b0d18ef113e578dd8"
+source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#7058efe75c7ad245db80986e77a97d426b9be8a4"
 
 [[package]]
 name = "hblang"
 version = "0.1.0"
-source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#81cf39b602a64242f2bfb22b0d18ef113e578dd8"
+source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#7058efe75c7ad245db80986e77a97d426b9be8a4"
 dependencies = [
  "hashbrown 0.15.1",
  "hbbytecode",
@@ -245,7 +245,7 @@ dependencies = [
 [[package]]
 name = "hbvm"
 version = "0.1.0"
-source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#81cf39b602a64242f2bfb22b0d18ef113e578dd8"
+source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#7058efe75c7ad245db80986e77a97d426b9be8a4"
 dependencies = [
  "hbbytecode",
 ]
diff --git a/repbuild/src/dev.rs b/repbuild/src/dev.rs
index ab300ef..c5d9723 100644
--- a/repbuild/src/dev.rs
+++ b/repbuild/src/dev.rs
@@ -74,10 +74,6 @@ impl Package {
     pub fn build(&self, out: &mut Vec<u8>) -> std::io::Result<()> {
         if self.binaries.contains(&"hblang".to_string()) {
             let file = self.build_cmd.split_ascii_whitespace().last().unwrap();
-            let in_house_regalloc = self
-                .args
-                .get("use_new_regalloc")
-                .map_or(false, |str| str.parse().expect("must be a boolean"));
             let path = format!("sysdata/programs/{}/{}", self.name, file);
             // compile here
 
@@ -85,7 +81,7 @@ impl Package {
                 &path,
                 Options {
                     fmt: true,
-                    in_house_regalloc,
+                    in_house_regalloc: true,
                     ..Default::default()
                 },
                 out,
@@ -100,7 +96,7 @@ impl Package {
             hblang::run_compiler(
                 &path,
                 Options {
-                    in_house_regalloc,
+                    in_house_regalloc: true,
                     ..Default::default()
                 },
                 out,
@@ -112,7 +108,7 @@ impl Package {
                 &path,
                 Options {
                     dump_asm: true,
-                    in_house_regalloc,
+                    in_house_regalloc: true,
                     ..Default::default()
                 },
                 out,