From 1d67fe63b8c1e5537cccc60734cfbf3bc64d10ab Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 25 Jun 2012 22:46:49 +0200 Subject: 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. --- src/msil/ch/epfl/lamp/compiler/msil/emit/ILGenerator.scala | 1 - 1 file changed, 1 deletion(-) (limited to 'src/msil/ch/epfl') 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. */ -- cgit v1.2.3