Files
kotlin-fork/compiler/testData/codegen/box
pyos ef5e02da84 JVM_IR: handle Nothing and Unit more consistently.
* In blocks, discard the result of any statement that has a return
   type other than void. This was previously done by wrapping each
   statement into an "implicit Unit conversion" that was actually
   compiled down to a stack pop instead. If an expression happened to
   already have type Unit, however, such a conversion was not inserted,
   resulting in a stray reference on the stack. These conversions are
   now redundant and should probably be removed.

 * In assignments and non-exhaustive conditionals, materialize a Unit
   on the stack to avoid depth mismatches that trip up the bytecode
   validator. Because such expressions are generally used at block level
   (and, indeed, the frontend will reject a non-exhaustive conditional
   used as an expression), combined with the above change this results
   in no additional GETSTATIC opcodes, as they are immediately removed
   by the peephole optimizer.
2019-03-26 13:32:02 +01:00
..
2019-03-12 09:33:00 +01:00
2019-02-25 15:09:26 +03:00
2019-01-31 18:19:41 +03:00
2018-10-15 00:03:45 +03:00
2018-07-10 13:34:19 +03:00
2018-07-10 13:34:19 +03:00
2019-02-15 16:25:16 +03:00
2018-08-09 14:22:50 +03:00
2018-10-22 16:32:55 +02:00
2019-01-24 23:05:56 +03:00
2019-01-26 08:26:49 +01:00
2018-06-14 19:54:30 +03:00
2018-08-02 15:51:16 +02:00
2018-10-22 16:32:55 +02:00
2018-08-09 20:55:50 +03:00
2018-10-10 17:27:37 +03:00
2018-08-15 10:26:28 +03:00
2019-02-19 16:37:47 +01:00