mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
comment out ERRORs check
This commit is contained in:
parent
ffa0b69841
commit
18eac4375c
1 changed files with 2 additions and 2 deletions
|
|
@ -309,7 +309,7 @@ let compile cmd env imports code =
|
||||||
| BINOP op ->
|
| BINOP op ->
|
||||||
let x, y, env' = env#pop2 in
|
let x, y, env' = env#pop2 in
|
||||||
env'#push y,
|
env'#push y,
|
||||||
(match op with
|
(* (match op with
|
||||||
|"<" | "<=" | "==" | "!=" | ">=" | ">" ->
|
|"<" | "<=" | "==" | "!=" | ">=" | ">" ->
|
||||||
[Push (eax);
|
[Push (eax);
|
||||||
Push (edx);
|
Push (edx);
|
||||||
|
|
@ -331,7 +331,7 @@ let compile cmd env imports code =
|
||||||
Binop("&&", L(1), eax);
|
Binop("&&", L(1), eax);
|
||||||
Binop("cmp", L(0), eax);
|
Binop("cmp", L(0), eax);
|
||||||
CJmp ("z", "_ERROR")]
|
CJmp ("z", "_ERROR")]
|
||||||
| _ -> []) @
|
| _ -> []) @ *)
|
||||||
(match op with
|
(match op with
|
||||||
| "/" ->
|
| "/" ->
|
||||||
[Mov (y, eax);
|
[Mov (y, eax);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue