Skip to content

Commit

Permalink
Support DDC cerise linkable format + bump compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
JuneRousseau committed Sep 27, 2023
1 parent 7f490c5 commit d92743c
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 120 deletions.
2 changes: 0 additions & 2 deletions lib/compiler/convert.ml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ module ConvertExtractAst = struct
let regname (r : regName) : Ast.regname =
match r with
| PC -> Ast.PC
| STK -> Ast.STK
| R n -> Ast.Reg (Big_int_Z.int_of_big_int n)

let sum (s : (Big_int_Z.big_int, regName) sum) : Ast.reg_or_const =
Expand Down Expand Up @@ -126,7 +125,6 @@ module ConvertAstExtract = struct
let reg (r : Ast.regname) : regName =
match r with
| Ast.PC -> PC
| Ast.STK -> STK
| Ast.Reg n -> R (Big_int_Z.big_int_of_int n)

let sum (c : Ast.reg_or_const) : (Big_int_Z.big_int, regName) sum =
Expand Down
Loading

0 comments on commit d92743c

Please sign in to comment.