summaryrefslogtreecommitdiff
path: root/test/junit
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2015-07-02 20:17:57 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2015-07-23 15:02:12 +0200
commit1b0703e74d22ed54b95a134216835569a20d2325 (patch)
treefefe75959b5711ed54a30a3813562d79893a46a8 /test/junit
parente511375a902e19cbed2340e7b66272692307df93 (diff)
downloadscala-1b0703e74d22ed54b95a134216835569a20d2325.tar.gz
scala-1b0703e74d22ed54b95a134216835569a20d2325.tar.bz2
scala-1b0703e74d22ed54b95a134216835569a20d2325.zip
[backport] 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 'test/junit')
0 files changed, 0 insertions, 0 deletions