Commit Graph
348 Commits
Author SHA1 Message Date
Jb Evain 81abd9f00e adjust name
svn path=/trunk/mcs/; revision=128730
2009-03-05 22:02:27 +00:00
Jb Evain 1f1ad84e50 in System.Runtime.CompilerServices:
2009-03-05  Jb Evain  <[email protected]>

	* ExecutionScope.cs: add support for hoisted locals.

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

	* EmitContext.cs
	* ParameterExpression.cs:
		add support for hoisted locals.

svn path=/trunk/mcs/; revision=128721
2009-03-05 20:48:13 +00:00
Jb Evain 6d8ee2b854 2009-02-24 Jb Evain <[email protected]>
* Expression.cs (BinaryCoreCheck): fix comparison of enums


svn path=/trunk/mcs/; revision=127871
2009-02-24 17:09:23 +00:00
Jb Evain 2313558b90 2009-02-23 Jb Evain <[email protected]>
* Expression.cs (IsNumber): actually decimal is rather a special
	case, and not a primitive number.


svn path=/trunk/mcs/; revision=127754
2009-02-23 17:03:21 +00:00
Jb Evain 59e1ea03d7 2009-02-23 Jb Evain <[email protected]>
* Expression.cs (BinaryCoreCheck): add decimal operations
	are provided by custom operators.


svn path=/trunk/mcs/; revision=127746
2009-02-23 16:41:59 +00:00
Jb Evain 8b390a4462 2008-12-17 Jb Evain <[email protected]>
* ExpressionTransformer.cs: fix VisitList.


svn path=/trunk/mcs/; revision=121732
2008-12-17 22:54:50 +00:00
Jb Evain 3f5524d8ed 2008-11-19 Jb Evain <[email protected]>
* Expression.cs: protect against open generic methods.


svn path=/trunk/mcs/; revision=119350
2008-11-19 17:29:25 +00:00
Atsushi Eno e9bef803a2 2008-10-08 Atsushi Enomoto <[email protected]>
* Expression.cs : give us information about which type does not
	  implement Emit().


svn path=/trunk/mcs/; revision=115194
2008-10-08 10:42:26 +00:00
Jb Evain 8f9bbdd2e7 2008-10-03 Jb Evain <[email protected]>
* Expression.cs: make sure we properly test complex generic methods
	as a Call candidate.


svn path=/trunk/mcs/; revision=114803
2008-10-03 21:59:03 +00:00
Jb Evain 22ec076e6f micro optimization
svn path=/trunk/mcs/; revision=113936
2008-09-24 08:56:57 +00:00
Jb Evain 4f47677525 2008-09-22 Jb Evain <[email protected]>
* TypeBinaryExpression.cs: protect against testing void expressions.
	Fixes bug #428309.


svn path=/trunk/mcs/; revision=113721
2008-09-22 13:11:01 +00:00
Jb Evain 6bded02e3c 2008-09-01 Jb Evain <[email protected]>
* MemberBinding.cs: make .ctor protected instead of public.


svn path=/trunk/mcs/; revision=112034
2008-09-01 14:22:29 +00:00
Jb Evain 175a8f2430 2008-09-01 Jb Evain <[email protected]>
* Expression.cs: guard against null parameters passed to Lambda.


svn path=/trunk/mcs/; revision=112032
2008-09-01 14:12:25 +00:00
Marek Safar e579a95c2c 2008-08-30 Marek Safar <[email protected]>
* MemberBinding.cs: Made MemberBinding ctor public


svn path=/trunk/mcs/; revision=111969
2008-08-30 12:55:47 +00:00
Jb Evain ddf0460e04 2008-08-07 Jb Evain <[email protected]>
* Expression.cs (GetAssociatedProperty): strengthen accessors
	comparisons.

svn path=/trunk/mcs/; revision=109858
2008-08-07 13:49:28 +00:00
Jb Evain 633e47364f a lil refactoring
svn path=/trunk/mcs/; revision=109562
2008-08-04 13:43:00 +00:00
Zoltan Varga 94bc1b98ef 2008-08-02 Zoltan Varga <[email protected]>
* BinaryExpression.cs (EmitBinaryOperator): Mask out the upper bits of the 
	shift amount like mcs compiled code does.

svn path=/trunk/mcs/; revision=109521
2008-08-03 16:42:24 +00:00
Jb Evain 82ca793bbd 2008-07-19 Jb Evain <[email protected]>
* Expression.cs (Call, Field, Property): disallow instance arguments
	on static members. See ms connect #339351.


svn path=/trunk/mcs/; revision=108306
2008-07-19 07:57:15 +00:00
Jb Evain dcc7953427 2008-07-18 Jb Evain <[email protected]>
* Expression.cs, BinaryExpression.cs: fix retrieval of true and false
	operators.


svn path=/trunk/mcs/; revision=108217
2008-07-18 11:28:32 +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 5fb3229bc4 simplify
svn path=/trunk/mcs/; revision=108211
2008-07-18 08:39:21 +00:00
Jb Evain 7fe8b7e58d blah
svn path=/trunk/mcs/; revision=106571
2008-06-25 16:47:16 +00:00
Jb Evain 602a72186e refactoring
svn path=/trunk/mcs/; revision=106422
2008-06-23 14:56:40 +00:00
Jb Evain 4fceb133c6 fix for properly calling methods with a ref parameter
svn path=/trunk/mcs/; revision=106421
2008-06-23 14:46:05 +00:00
Jb Evain 73e627220b 2008-06-20 Jb Evain <[email protected]>
* LambdaExpression.cs, EmitContext.cs: refactor the emit context to
	handle the fact that lambdas are compiled in a general context where
	they share globals but are also able to use parameters from parent lambdas.
	(Although parameter sharing is not implemented yet).

	* BinaryExpression.cs (fix converted coalesce case to use the lambda
	compilation code).


svn path=/trunk/mcs/; revision=106310
2008-06-20 16:02:04 +00:00
Jb Evain 9454a24760 fix namespace
svn path=/trunk/mcs/; revision=106208
2008-06-19 13:58:01 +00:00
Jb Evain ae8b2d7944 remove wrong comment
svn path=/trunk/mcs/; revision=105991
2008-06-17 13:07:57 +00:00
Jb Evain 77594835e2 blah
svn path=/trunk/mcs/; revision=105989
2008-06-17 12:45:10 +00:00
Jb Evain 65439303c6 refactoring
svn path=/trunk/mcs/; revision=105578
2008-06-11 13:07:11 +00:00
Jb Evain dfc7855503 add support for user defined lifted logical operators
svn path=/trunk/mcs/; revision=105405
2008-06-10 11:27:36 +00:00
Jb Evain 919e9da627 be consistent
svn path=/trunk/mcs/; revision=105400
2008-06-10 09:51:36 +00:00
Jb Evain eecff911da 2008-06-09 Jb Evain <[email protected]>
* Extensions.cs (Type.IsExpression): add
	* Expression.cs (CheckMethodArguments): modify the argument list
	to quote arguments when if necessary.



svn path=/trunk/mcs/; revision=105324
2008-06-09 15:31:19 +00:00
Jb Evain 1e7138db2c 2008-06-09 Jb Evain <[email protected]>
* Expression.cs (CheckLambda): quote body if required.


svn path=/trunk/mcs/; revision=105320
2008-06-09 15:09:16 +00:00
Jb Evain 3c9b3fd931 refactoring
svn path=/trunk/mcs/; revision=105310
2008-06-09 13:46:55 +00:00
Jb Evain dea4a0bbce don't use CreateInstance missing in SL2
svn path=/trunk/mcs/; revision=105297
2008-06-09 11:40:48 +00:00
Jb Evain a3132c3d8f remove use of methods not present in SL2
svn path=/trunk/mcs/; revision=105294
2008-06-09 11:23:37 +00:00
Jb Evain 47a63a53af remove warning
svn path=/trunk/mcs/; revision=105258
2008-06-08 13:25:02 +00:00
Jb Evain 02695a5640 inline
svn path=/trunk/mcs/; revision=105245
2008-06-07 18:18:26 +00:00
Jb Evain 2d7ee0476c 2008-06-07 Jb Evain <[email protected]>
* BinaryExpression.cs (EmitConvertedCoalesce): implement.


svn path=/trunk/mcs/; revision=105243
2008-06-07 18:09:12 +00:00
Jb Evain 32e96dd798 separate normal coalesce operations from converted coalesce nodes
svn path=/trunk/mcs/; revision=105235
2008-06-07 15:59: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 1c3c6aa273 fix loading of initializers
svn path=/trunk/mcs/; revision=105108
2008-06-05 20:53:57 +00:00
Jb Evain 1535a89121 dead code
svn path=/trunk/mcs/; revision=105088
2008-06-05 18:58:14 +00:00
Jb Evain 2a62b7117a oh the joy of deleting code
svn path=/trunk/mcs/; revision=105085
2008-06-05 18:30:44 +00:00
Jb Evain 9bec534a20 fix convert checked for nullable to not nullable
svn path=/trunk/mcs/; revision=105083
2008-06-05 18:27:56 +00:00
Jb Evain cae203e7c5 2008-06-05 Jb Evain <[email protected]>
* Expression.cs (GetUserConversionMethod): check for convertion
	operators on both types.


svn path=/trunk/mcs/; revision=105079
2008-06-05 18:00:16 +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 867c722eb1 fix typo
svn path=/trunk/mcs/; revision=105066
2008-06-05 17:20:50 +00:00
Jb Evain 705b5987d7 fix separate relational cases
svn path=/trunk/mcs/; revision=105060
2008-06-05 16:33:31 +00:00