summaryrefslogtreecommitdiff
path: root/test/files/run/t8233-bcode.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-8330: Mismatch in stack heightsGrzegorz Kossakowski2014-02-241-1/+14
| | | | | | | | | | | | The SI-8233 / 9506d52 missed one case when we need to DROP a null from a stack: when unboxed Unit is an expected type. If we forgot to do that in a context where two branches were involved we could end up with unbalanced stack sizes. Let's fix that omission and a test covering that specific case to the original test for SI-8233. Fixes SI-8330.
* SI-8233 Fix regression in backend with boxed nullsJason Zaugg2014-02-051-0/+18
Regressed in SI-7015 / 1b6661b8. We do need to "unbox" the null (ie, drop a stack from and load a null) in general. The only time we can avoid this is if the tree we are adapting is a `Constant(Literal(null))`. I've added a test for both backends. Only GenICode exhibited the problem.