projects
/
mate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
codegen: a few more hacks to get more of classpath running
[mate.git]
/
Mate
/
Utilities.hs
diff --git
a/Mate/Utilities.hs
b/Mate/Utilities.hs
index 0fd5ddd74ca9f33c5c313c67c102f03e2c9a077c..211b68f2f5ab2019633b880863db206e84fb61b6 100644
(file)
--- a/
Mate/Utilities.hs
+++ b/
Mate/Utilities.hs
@@
-43,6
+43,7
@@
methodGetArgsCount cls idx = fromIntegral $ length args
methodHaveReturnValue :: Class Direct -> Word16 -> Bool
methodHaveReturnValue cls idx = case ret of
ReturnsVoid -> False;
+ (Returns BoolType) -> True
(Returns IntType) -> True;
(Returns (Array _ _)) -> True
(Returns (ObjectType _)) -> True;