diff options
author | Szabolcs Berecz <szabolcs.berecz@gmail.com> | 2012-01-29 01:24:28 +0100 |
---|---|---|
committer | Szabolcs Berecz <szabolcs.berecz@gmail.com> | 2012-02-16 21:36:58 +0100 |
commit | 01ee3de96dcae707fb8fee28e93af0515519c603 (patch) | |
tree | e4dcd0e7ba8ab1036abd92dbfaecc2cb9fa14175 /test/files/run/tailcalls.check | |
parent | b8b19b1ca1de01083cf0975226a34424bd729a5b (diff) | |
download | scala-01ee3de96dcae707fb8fee28e93af0515519c603.tar.gz scala-01ee3de96dcae707fb8fee28e93af0515519c603.tar.bz2 scala-01ee3de96dcae707fb8fee28e93af0515519c603.zip |
replace methods containing a synchronized body with synchronized methods
The following:
def f = synchronized { ... }
will be rewritten to:
<synchronized> def f = ...
which is then emitted to the classfile with the synchronized flag set.
Inlining of such transformed methods are disabled for now
This transformation is not done on methods defined in a trait.
Diffstat (limited to 'test/files/run/tailcalls.check')
-rw-r--r-- | test/files/run/tailcalls.check | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/tailcalls.check b/test/files/run/tailcalls.check index 7670962db2..e3a70f46ae 100644 --- a/test/files/run/tailcalls.check +++ b/test/files/run/tailcalls.check @@ -43,6 +43,7 @@ test TailCall.g1 was successful test TailCall.g2 was successful test TailCall.g3 was successful test TailCall.h1 was successful +test TailCall.s1 was successful test NonTailCall.f1 0 1 2 was successful test NonTailCall.f2 was successful |