Author: raja
Date: 2007-05-27 03:25:48 -0400 (Sun, 27 May 2007)
New Revision: 77999
Modified:
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/codegen.cs
trunk/mcs/mcs/statement.cs
Log:
Remove unused field
* codegen.cs (EmitContext.IsLastStatement): Remove.
* statement.cs (Block.DoEmit): Update to changes.
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2007-05-27 07:07:50 UTC (rev 77998)
+++ trunk/mcs/mcs/ChangeLog 2007-05-27 07:25:48 UTC (rev 77999)
@@ -1,3 +1,9 @@
+2007-05-27 Raja R Harinath <[EMAIL PROTECTED]>
+
+ Remove unused field
+ * codegen.cs (EmitContext.IsLastStatement): Remove.
+ * statement.cs (Block.DoEmit): Update to changes.
+
2007-05-25 Raja R Harinath <[EMAIL PROTECTED]>
* cs-parser.jay: Use 'start_block' and 'end_block' rather than
Modified: trunk/mcs/mcs/codegen.cs
===================================================================
--- trunk/mcs/mcs/codegen.cs 2007-05-27 07:07:50 UTC (rev 77998)
+++ trunk/mcs/mcs/codegen.cs 2007-05-27 07:25:48 UTC (rev 77999)
@@ -347,8 +347,6 @@
/// </summary>
public bool InIterator;
- public bool IsLastStatement;
-
/// <summary>
/// Whether we are in a `fixed' initialization
/// </summary>
Modified: trunk/mcs/mcs/statement.cs
===================================================================
--- trunk/mcs/mcs/statement.cs 2007-05-27 07:07:50 UTC (rev 77998)
+++ trunk/mcs/mcs/statement.cs 2007-05-27 07:25:48 UTC (rev 77999)
@@ -2340,15 +2340,6 @@
{
for (int ix = 0; ix < num_statements; ix++){
Statement s = (Statement) statements [ix];
-
- // Check whether we are the last statement in a
- // top-level block.
-
- if (((Parent == null) || Implicit) && (ix+1 ==
num_statements) && !(s is Block))
- ec.IsLastStatement = true;
- else
- ec.IsLastStatement = false;
-
s.Emit (ec);
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches