diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2015-03-12 15:32:46 -0700 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2015-03-12 16:34:21 -0700 |
commit | c2ab768287cc02b5e01342ac993d6c2b6e7ee2aa (patch) | |
tree | 8f6eb1d2132585be7f869b488e195149b03bd461 /test/files | |
parent | ba325127141e70e3464be80fddc699e23b638a3d (diff) | |
download | scala-c2ab768287cc02b5e01342ac993d6c2b6e7ee2aa.tar.gz scala-c2ab768287cc02b5e01342ac993d6c2b6e7ee2aa.tar.bz2 scala-c2ab768287cc02b5e01342ac993d6c2b6e7ee2aa.zip |
Don't inline methods containing super calls into other classes
Method bodies that contain a super call cannot be inlined into other
classes. The same goes for methods containing calls to private
methods, but that was already ensured before by accessibility checks.
The last case of `invokespecial` instructions is constructor calls.
Those can be safely moved into different classes (as long as the
constructor is accessible at the new location).
Note that scalac never emits methods / constructors as private in
bytecode.
Diffstat (limited to 'test/files')
0 files changed, 0 insertions, 0 deletions