From 96947be97ae27ef45950e31a2870821f0bb7138b Mon Sep 17 00:00:00 2001 From: sofia Date: Mon, 21 Jul 2025 15:47:28 +0300 Subject: [PATCH] Remove additional llvm ir print, update readme --- README.md | 4 ++-- reid-llvm-lib/src/compile.rs | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 556c5d6..e760d21 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Currently missing big features (TODOs) are: - ~~Strings~~ (DONE) - ~~Borrows~~ (DONE) - ~~Pointers~~ (DONE) -- Unary operators +- ~~Unary operators~~ - Floats - Loops - Debug Information (PARTIALLY DONE) @@ -53,7 +53,7 @@ Big features that I want later but are not necessary: Smaller features: - Easier way to initialize arrays with a single value - Lexical scopes for Debug Information -- Only include standard library at all if it is imported +- ~~Only include standard library at all if it is imported~~ ### Why "Reid" diff --git a/reid-llvm-lib/src/compile.rs b/reid-llvm-lib/src/compile.rs index 173e96d..8352e10 100644 --- a/reid-llvm-lib/src/compile.rs +++ b/reid-llvm-lib/src/compile.rs @@ -68,10 +68,6 @@ pub struct CompileOutput { impl CompiledModule { pub fn output(&self) -> CompileOutput { unsafe { - let llvm_ir = from_cstring(LLVMPrintModuleToString(self.module_ref)) - .expect("Unable to print LLVM IR to string"); - println!("{}", llvm_ir); - LLVM_InitializeAllTargets(); LLVM_InitializeAllTargetInfos(); LLVM_InitializeAllTargetMCs();