summaryrefslogtreecommitdiff
path: root/test/files/run/synchronized.check
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2015-03-12 15:32:46 -0700
committerLukas Rytz <lukas.rytz@gmail.com>2015-03-12 16:34:21 -0700
commitc2ab768287cc02b5e01342ac993d6c2b6e7ee2aa (patch)
tree8f6eb1d2132585be7f869b488e195149b03bd461 /test/files/run/synchronized.check
parentba325127141e70e3464be80fddc699e23b638a3d (diff)
downloadscala-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/run/synchronized.check')
0 files changed, 0 insertions, 0 deletions