fixed a parameter range check bug in a compiler.

fixed a wrong goto label location for send_message
This commit is contained in:
hyunghwan.chung
2015-12-27 10:19:36 +00:00
parent 649a78472b
commit fff2af4762
4 changed files with 229 additions and 187 deletions

View File

@ -198,10 +198,28 @@
#class(#liword) LargePositiveInteger(LargeInteger)
{
#method abs
{
^self.
}
#method sign
{
^1.
}
}
#class(#liword) LargeNegativeInteger(LargeInteger)
{
#method abs
{
^self negated.
}
#method sign
{
^-1.
}
}