summaryrefslogtreecommitdiff
path: root/src/msil/ch/epfl
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2012-06-25 22:46:49 +0200
committerMartin Odersky <odersky@gmail.com>2012-06-25 22:48:05 +0200
commit1d67fe63b8c1e5537cccc60734cfbf3bc64d10ab (patch)
treef8b48c325d2059cf3fe94a12b981d09d04ed5243 /src/msil/ch/epfl
parent643a143504106de439451a4dcb7f76fc8df6b73c (diff)
downloadscala-1d67fe63b8c1e5537cccc60734cfbf3bc64d10ab.tar.gz
scala-1d67fe63b8c1e5537cccc60734cfbf3bc64d10ab.tar.bz2
scala-1d67fe63b8c1e5537cccc60734cfbf3bc64d10ab.zip
Statistics improvements and bug fixes.
Added compile-time option hotEnabled to Statistics that can be used to count very high frequency methods with 0 overhead for the disabled case. Fixed problem with weak maps that caused some timers to be discarded prematurely before they could be printed. Fixed problem with accouning for stacked timers.
Diffstat (limited to 'src/msil/ch/epfl')
-rw-r--r--src/msil/ch/epfl/lamp/compiler/msil/emit/ILGenerator.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/msil/ch/epfl/lamp/compiler/msil/emit/ILGenerator.scala b/src/msil/ch/epfl/lamp/compiler/msil/emit/ILGenerator.scala
index 2223a6db0f..2aa9a99054 100644
--- a/src/msil/ch/epfl/lamp/compiler/msil/emit/ILGenerator.scala
+++ b/src/msil/ch/epfl/lamp/compiler/msil/emit/ILGenerator.scala
@@ -336,7 +336,6 @@ import ILGenerator._
emitSpecialLabel(Label.Try)
val endExc: Label = new Label.NormalLabel() // new Label(lastLabel) ???
excStack.push(Label.Try, endExc)
- return endExc
}
/** Begins a catch block. */