mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 14:58:50 +00:00
Renamed X86 to X86_64
This commit is contained in:
parent
85b838ea2b
commit
74e007c2ec
3 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ class options args =
|
|||
val i = ref 1
|
||||
val infile = ref (None : string option)
|
||||
val outfile = ref (None : string option)
|
||||
val paths = ref [ X86.get_std_path () ]
|
||||
val paths = ref [ X86_64.get_std_path () ]
|
||||
val mode = ref (`Default : [ `Default | `Eval | `SM | `Compile | `BC ])
|
||||
val curdir = Unix.getcwd ()
|
||||
val debug = ref false
|
||||
|
|
@ -196,7 +196,7 @@ let[@ocaml.warning "-32"] main =
|
|||
cmd#dump_AST (snd prog);
|
||||
cmd#dump_source (snd prog);
|
||||
match cmd#get_mode with
|
||||
| `Default | `Compile -> ignore @@ X86.build cmd prog
|
||||
| `Default | `Compile -> ignore @@ X86_64.build cmd prog
|
||||
| `BC -> SM.ByteCode.compile cmd (SM.compile cmd prog)
|
||||
| _ ->
|
||||
let rec read acc =
|
||||
|
|
|
|||
2
src/dune
2
src/dune
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
(library
|
||||
(name liba)
|
||||
(modules Language Pprinter stdpath version X86 SM)
|
||||
(modules Language Pprinter stdpath version X86_64 SM)
|
||||
(libraries GT ostap posix-uname)
|
||||
(flags
|
||||
(:standard
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue