diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2016-02-14 21:20:54 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2016-02-14 21:20:54 +0100 |
commit | 9b334b2ea3f9eee0582447658dcf2ac244121644 (patch) | |
tree | 507f29dbf75604928b56d224c9ac379aa3ebf290 /test/files/pos/t6780.scala | |
parent | f70c77e1c4d5b6c951669d79cf73a1ff0b932312 (diff) | |
download | scala-9b334b2ea3f9eee0582447658dcf2ac244121644.tar.gz scala-9b334b2ea3f9eee0582447658dcf2ac244121644.tar.bz2 scala-9b334b2ea3f9eee0582447658dcf2ac244121644.zip |
Avoid generating ACONST_NULL; POP; ACONST_NULL when loading null
When loading a value of type scala.runtime.Null$ we need to add
POP; ACONST_NULL, see comment in BCodeBodyBuilder.adapt.
This is however not necessary if the null value is a simple ACONST_NULL.
This patch eliminates that redundancy.
Diffstat (limited to 'test/files/pos/t6780.scala')
0 files changed, 0 insertions, 0 deletions