Remove additional llvm ir print, update readme

This commit is contained in:
Sofia 2025-07-21 15:47:28 +03:00
parent e370e17ffd
commit 96947be97a
2 changed files with 2 additions and 6 deletions

View File

@ -39,7 +39,7 @@ Currently missing big features (TODOs) are:
- ~~Strings~~ (DONE) - ~~Strings~~ (DONE)
- ~~Borrows~~ (DONE) - ~~Borrows~~ (DONE)
- ~~Pointers~~ (DONE) - ~~Pointers~~ (DONE)
- Unary operators - ~~Unary operators~~
- Floats - Floats
- Loops - Loops
- Debug Information (PARTIALLY DONE) - Debug Information (PARTIALLY DONE)
@ -53,7 +53,7 @@ Big features that I want later but are not necessary:
Smaller features: Smaller features:
- Easier way to initialize arrays with a single value - Easier way to initialize arrays with a single value
- Lexical scopes for Debug Information - 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" ### Why "Reid"

View File

@ -68,10 +68,6 @@ pub struct CompileOutput {
impl CompiledModule { impl CompiledModule {
pub fn output(&self) -> CompileOutput { pub fn output(&self) -> CompileOutput {
unsafe { unsafe {
let llvm_ir = from_cstring(LLVMPrintModuleToString(self.module_ref))
.expect("Unable to print LLVM IR to string");
println!("{}", llvm_ir);
LLVM_InitializeAllTargets(); LLVM_InitializeAllTargets();
LLVM_InitializeAllTargetInfos(); LLVM_InitializeAllTargetInfos();
LLVM_InitializeAllTargetMCs(); LLVM_InitializeAllTargetMCs();