diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2015-07-02 20:17:57 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2015-07-03 10:42:52 +0200 |
commit | 055a373802a34ee09fc0ed20b2b25c3fa20507d4 (patch) | |
tree | a4ae2c969fcea60726796f552e5bbdffe36d191c /src/intellij | |
parent | 6ae2dd8dc4556e8085710122097c849fdeac6d95 (diff) | |
download | scala-055a373802a34ee09fc0ed20b2b25c3fa20507d4.tar.gz scala-055a373802a34ee09fc0ed20b2b25c3fa20507d4.tar.bz2 scala-055a373802a34ee09fc0ed20b2b25c3fa20507d4.zip |
SI-9376 don't crash when inlining a closure body that throws.
If the closure body method has return type Nothing$, add an `ATHROW`
instruction after the callsite. This is required for computing stack
map frames, as explained in a comment in BCodeBodyBuilder.adapt.
Similar for closure bodies with return type Null$.
Diffstat (limited to 'src/intellij')
0 files changed, 0 insertions, 0 deletions