Explorar el Código

use the expression interpreter on MonoTouch

svn path=/trunk/mcs/; revision=143772
Jb Evain hace 16 años
padre
commit
5bc44ecc4b

+ 4 - 0
mcs/class/System.Core/System.Linq.Expressions/ChangeLog

@@ -1,3 +1,7 @@
+2009-10-08  Jb Evain  <[email protected]>
+
+	* LambdaExpression.cs (Compile): use the interpreter on MonoTouch.
+
 2009-09-03  Jb Evain  <[email protected]>
 
 	* ConstantExpression.cs (Emit): add support to emit DBNull values.

+ 1 - 1
mcs/class/System.Core/System.Linq.Expressions/LambdaExpression.cs

@@ -80,7 +80,7 @@ namespace System.Linq.Expressions {
 
 		public Delegate Compile ()
 		{
-#if TARGET_JVM
+#if TARGET_JVM || MONOTOUCH
 			System.Linq.jvm.Interpreter inter =
 				new System.Linq.jvm.Interpreter (this);
 			inter.Validate ();

+ 5 - 0
mcs/class/System.Core/monotouch_System.Core.dll.sources

@@ -1 +1,6 @@
 #include net_2_1_raw_System.Core.dll.sources
+System.Linq.jvm/Conversion.cs
+System.Linq.jvm/ExpressionInterpreter.cs
+System.Linq.jvm/ExpressionValidator.cs
+System.Linq.jvm/Interpreter.cs
+System.Linq.jvm/Math.cs