Skip to content

Commit

Permalink
[x64] deleting the old legace instruction backend so we are now using…
Browse files Browse the repository at this point in the history
… the new instr enum everywhere
  • Loading branch information
Cr0a3 committed Aug 1, 2024
1 parent ee2eab9 commit d2799f0
Show file tree
Hide file tree
Showing 10 changed files with 192 additions and 3,737 deletions.
2 changes: 1 addition & 1 deletion src/Target/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub trait Compiler {
/// compiles an assembly string into machine code
fn parse(&mut self) -> Result<(), Box<dyn Error>>;
/// Returns the output machine code
fn out(&self) -> Vec<u8>;
fn out(&self) -> Result<Vec<u8>, Box<dyn Error>>;

#[doc(hidden)]
fn boxed(&self) -> Box<dyn Compiler>;
Expand Down
Loading

0 comments on commit d2799f0

Please sign in to comment.