Commit Graph
51 Commits
Author SHA1 Message Date
Miguel de Icaza b6d1b4492f Class libraries: introduce mobile_static profile, for MonoTouch-like static builds, but not limited to iOS (WinStore, Kumpera did the work). 2013-07-30 16:51:38 -04:00
Rodrigo Kumpera e88bef33b7 Add Full AOT support for System.Linq.Expression.
* System.Core/System.Linq.Expressions/*.cs: To bring LINQ expressions
	to Full AOT we disable all code that depends on SRE or dynamic code generation.
2012-11-06 18:18:13 -05:00
Jb Evain fd7182588a in System.Runtime.CompilerServices:
2009-11-14  Jb Evain  <[email protected]>

	* ExecutionScope.cs: implement IsolateExpression.

in System.Linq.Expressions:
2009-11-14  Jb Evain  <[email protected]>

	* UnaryExpression.cs: isolate quoted expressions.
	* EmitContext.cs (ParameterReplacer): new helper type
	to replace the parameters of isolated expressions.
	Fix #550722.


svn path=/trunk/mcs/; revision=146209
2009-11-14 15:50:23 +00:00
Jb Evain 85f8c499be turn GetNotNullable into an extension method for consistency
svn path=/trunk/mcs/; revision=108212
2008-07-18 09:05:17 +00:00
Jb Evain ae8b2d7944 remove wrong comment
svn path=/trunk/mcs/; revision=105991
2008-06-17 13:07:57 +00:00
Jb Evain 3c9b3fd931 refactoring
svn path=/trunk/mcs/; revision=105310
2008-06-09 13:46:55 +00:00
Jb Evain 47a63a53af remove warning
svn path=/trunk/mcs/; revision=105258
2008-06-08 13:25:02 +00:00
Jb Evain 0df3dd7415 fix convertions in between convertions from or to nullable types
svn path=/trunk/mcs/; revision=105123
2008-06-05 22:06:34 +00:00
Jb Evain 154dd9204c fix lifted only user defined unary operators
svn path=/trunk/mcs/; revision=105117
2008-06-05 21:43:54 +00:00
Jb Evain c24219019f fix NegateChecked to be actually checked
svn path=/trunk/mcs/; revision=105069
2008-06-05 17:32:10 +00:00
Jb Evain ef57ce6d14 blah
svn path=/trunk/mcs/; revision=105030
2008-06-05 14:18:44 +00:00
Jb Evain 711731434c 2008-06-05 Jb Evain <[email protected]>
* Expression.cs (MakeSimpleUnary): properly create lifted/not lifted
	unary expressions with user defined operators.
	* UnaryExpression.cs (Emit): fix compilation of lifted user operators.


svn path=/trunk/mcs/; revision=104965
2008-06-05 09:43:52 +00:00
Jb Evain 5ff70bb9bb on-going work on user defined unary expressions
svn path=/trunk/mcs/; revision=104536
2008-05-30 14:48:48 +00:00
Jb Evain 6755e85398 emit simple user defined operators
svn path=/trunk/mcs/; revision=104517
2008-05-30 13:46:37 +00:00
Jb Evain ba6d7978f6 2008-05-30 Jb Evain <[email protected]>
* UnaryExpression.cs (Emit): fix convertion from nullable
	to nullable types.


svn path=/trunk/mcs/; revision=104496
2008-05-30 10:23:08 +00:00
Jb Evain d15222c9ca make IsNullable an extension method
svn path=/trunk/mcs/; revision=104493
2008-05-30 09:37:59 +00:00
Jb Evain 45673a17a6 refactoring
svn path=/trunk/mcs/; revision=104397
2008-05-29 13:11:02 +00:00
Jb Evain b0233ce3ca make that explicit
svn path=/trunk/mcs/; revision=104302
2008-05-28 17:17:13 +00:00
Jb Evain 12f6b04a72 2008-05-28 Jb Evain <[email protected]>
* UnaryExpression.cs (Emit): implement support for compiling
	lifted unary expressions.


svn path=/trunk/mcs/; revision=104265
2008-05-28 14:37:30 +00:00
Jb Evain 405a8097a1 oh the joy of deleting code
svn path=/trunk/mcs/; revision=104251
2008-05-28 13:59:56 +00:00
Jb Evain d36af6f844 refactoring
svn path=/trunk/mcs/; revision=104249
2008-05-28 13:47:52 +00:00
Jb Evain 336369a2e4 refactoring
svn path=/trunk/mcs/; revision=104245
2008-05-28 13:42:33 +00:00
Jb Evain 8db270d2ee fix nullable boxing and unboxing
svn path=/trunk/mcs/; revision=104147
2008-05-27 14:08:24 +00:00
Jb Evain 8632fd1ba5 refactoring
svn path=/trunk/mcs/; revision=104141
2008-05-27 13:40:52 +00:00
Jb Evain 5bce99d52b 2008-05-27 Jb Evain <[email protected]>
* UnaryExpression.cs (EmitConvert): implement nullable to nullable
	convert.


svn path=/trunk/mcs/; revision=104139
2008-05-27 13:31:04 +00:00
Jb Evain 79da4a3681 clean
svn path=/trunk/mcs/; revision=103569
2008-05-20 13:36:17 +00:00
Jb Evain 69b8c869da 2008-05-15 Jb Evain <[email protected]>
* UnaryExpression.cs, EmitContext.cs: emit convert from and
	to nullable types.


svn path=/trunk/mcs/; revision=103312
2008-05-15 18:58:56 +00:00
Jb Evain a35feea60b 2008-04-29 Jb Evain <[email protected]>
* UnaryExpression.cs (EmitPrimitiveConversion): implement.


svn path=/trunk/mcs/; revision=102138
2008-04-29 15:53:40 +00:00
Jb Evain 7bf7ffd09f rename
svn path=/trunk/mcs/; revision=101699
2008-04-24 17:08:52 +00:00
Jb Evain 5d7d56c0ab 2008-04-24 Jb Evain <[email protected]>
* UnaryExpression.cs, EmitContext.cs: implement compilation
	of Quote as a global load.


svn path=/trunk/mcs/; revision=101668
2008-04-24 11:58:05 +00:00
Jb Evain c213461fa6 properly emit convert when the target and dest type are the same
svn path=/trunk/mcs/; revision=101661
2008-04-24 11:13:22 +00:00
Jb Evain 5ae3d6f3e6 box properly
svn path=/trunk/mcs/; revision=101660
2008-04-24 10:39:09 +00:00
Jb Evain 55c01989b7 2008-04-23 Jb Evain <[email protected]>
* UnaryExpression.cs: start implementing EmitConvert.


svn path=/trunk/mcs/; revision=101564
2008-04-23 16:27:09 +00:00
Jb Evain 6f75f47af5 2008-04-22 Jb Evain <[email protected]>
* UnaryExpression.cs: implement IsLiftedToNull properly.
	* Expression.cs (Convert, ConvertChecked): implemented computing
	of IsLifted and IsLiftedToNull for conversions.


svn path=/trunk/mcs/; revision=101439
2008-04-22 13:36:31 +00:00
Jb Evain 34453b7efd 2008-04-09 Jb Evain <[email protected]>
* UnaryExpression.cs: implement compilation of negate.


svn path=/trunk/mcs/; revision=100217
2008-04-09 11:49:34 +00:00
Jb Evain e083f12ffc 2008-04-09 Jb Evain <[email protected]>
* UnaryExpression.cs, Expression.cs: implement IsLifted and IsLifted
	to null for simple unary operators. Implement Not compilation.


svn path=/trunk/mcs/; revision=100215
2008-04-09 11:44:47 +00:00
Jb Evain 6f28b0a720 2008-03-11 Jb Evain <[email protected]>
* *.cs: Move the different Emit* helpers to EmitContext,
	so that they get used more naturally by the non Expression
	types.

svn path=/trunk/mcs/; revision=97992
2008-03-11 19:29:28 +00:00
Jb Evain 048e0cb2a4 revert simplification
svn path=/trunk/mcs/; revision=97868
2008-03-10 15:11:49 +00:00
Jb Evain 4c57a4d325 simplify
svn path=/trunk/mcs/; revision=97866
2008-03-10 14:59:36 +00:00
Jb Evain a72aad2725 2008-03-10 Jb Evain <[email protected]>
* TypeBinaryExpression.cs, Expression.cs: refactor an EmitIsInst.
	* UnaryExpression.cs: implement TypeAs using the EmitIsInst.

svn path=/trunk/mcs/; revision=97860
2008-03-10 13:04:13 +00:00
Jb Evain 14c53a1dcf 2008-01-31 Jb Evain <[email protected]>
* UnaryExpression.cs: emit array length.


svn path=/trunk/mcs/; revision=94480
2008-01-31 17:13:45 +00:00
Jb Evain 619e5002f0 2008-01-21 Jb Evain <[email protected]>
* Expression.cs, UnaryExpression.cs, BinaryExpression.cs:
	Move the IsUnsigned helper from BinaryExpression to Expression,
	so it can be used in UnaryExpression.


svn path=/trunk/mcs/; revision=93387
2008-01-21 14:12:21 +00:00
Miguel de Icaza 9586c1c5c5 2008-01-18 Miguel de Icaza <[email protected]>
* BinaryExpression.cs: Add support for emitting code for some
	operators (ported from the Mono C# compiler).   

	Add tests.


svn path=/trunk/mcs/; revision=93231
2008-01-18 08:03:10 +00:00
Jb Evain 71088609e9 fresh impl
svn path=/trunk/mcs/; revision=92823
2008-01-13 22:16:25 +00:00
Jb Evain f6359e4092 make some room
svn path=/trunk/mcs/; revision=92822
2008-01-13 22:11:43 +00:00
Jb Evain c53053a916 tabs instead of spaces
svn path=/trunk/mcs/; revision=92514
2008-01-09 15:52:22 +00:00
Federico Di Gregorio 1e4e0fa64b Implemented another 6 Expression methods.
svn path=/trunk/mcs/; revision=84329
2007-08-17 20:22:05 +00:00
Federico Di Gregorio bcb310484b TypeAs now ok.
svn path=/trunk/mcs/; revision=84252
2007-08-17 00:23:38 +00:00
Federico Di Gregorio ad98df1a44 MethodCallExpression complete. Added ArrayIndex and ArrayLength.
svn path=/trunk/mcs/; revision=84124
2007-08-14 22:12:39 +00:00
Miguel de Icaza 7a419ba406 command line options, and dos2unix
svn path=/trunk/mcs/; revision=74904
2007-03-23 19:11:16 +00:00