projects
/
mate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
methodpool: also call native methods
[mate.git]
/
Mate
/
X86CodeGen.hs
diff --git
a/Mate/X86CodeGen.hs
b/Mate/X86CodeGen.hs
index 21d2b3c88db364fa3711d520d3ee1a3f858a3fc3..2355acdb9266edb77d4a760d4140fd178298f5ed 100644
(file)
--- a/
Mate/X86CodeGen.hs
+++ b/
Mate/X86CodeGen.hs
@@
-239,7
+239,7
@@
emitFromBB cls hmap = do
mov esp ebp
pop ebp
ret
- emit
_ = do cmovbe eax eax -- dummy
+ emit
invalid = error $ "insn not implemented yet: " ++ (show invalid)
cArgs x = (8 + 4 * (fromIntegral x))
cArgs_ x = (8 + 4 * case x of I0 -> 0; I1 -> 1; I2 -> 2; I3 -> 3)