summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2007-02-11 13:14:40 +0000
committermihaylov <mihaylov@epfl.ch>2007-02-11 13:14:40 +0000
commitf2ccc14292a7a997d3fc452f20e5cd265e2f3537 (patch)
tree87a47c9640995c58eadaebd7975ec22fb5e73394
parent110a1d0cde97e928bbe8478414fb6e41e818ce81 (diff)
downloadscala-f2ccc14292a7a997d3fc452f20e5cd265e2f3537.tar.gz
scala-f2ccc14292a7a997d3fc452f20e5cd265e2f3537.tar.bz2
scala-f2ccc14292a7a997d3fc452f20e5cd265e2f3537.zip
Fixed GenMSIL for the new SCOPE_ENTER/SCOPE_EXI...
Fixed GenMSIL for the new SCOPE_ENTER/SCOPE_EXIT icodes
-rw-r--r--src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala b/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala
index e4f66a861a..2d16388b37 100644
--- a/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala
+++ b/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala
@@ -1549,6 +1549,8 @@ abstract class GenMSIL extends SubComponent {
case MONITOR_EXIT() =>
mcode.Emit(OpCodes.Call, MMONITOR_EXIT)
+
+ case SCOPE_ENTER(_) | SCOPE_EXIT(_) => ()
}
}) // end b traverse instr => { .. }