Commit Graph
365 Commits
Author SHA1 Message Date
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
Jb Evain c69a4e62c7 that was so wrong
svn path=/trunk/mcs/; revision=105043
2008-06-05 15:35:19 +00:00
Jb Evain 55da78b0dd implement compilation of not lifted user defined logical operator
svn path=/trunk/mcs/; revision=105041
2008-06-05 15:34:07 +00:00
Jb Evain c513fa2c61 blah
svn path=/trunk/mcs/; revision=105040
2008-06-05 15:33:22 +00:00
Jb Evain fc92a23cb3 2008-06-05 Jb Evain <[email protected]>
* Expression.cs (ConditionalBinaryCheck): if a method is passed,
	checked that the operators true and false are also defined.


svn path=/trunk/mcs/; revision=105031
2008-06-05 14:19:31 +00:00
Jb Evain ef57ce6d14 blah
svn path=/trunk/mcs/; revision=105030
2008-06-05 14:18:44 +00:00
Jb Evain 878d67efab fix typo
svn path=/trunk/mcs/; revision=105020
2008-06-05 13:10:18 +00:00
Jb Evain 31cf110a81 2008-06-05 Jb Evain <[email protected]>
* BinaryExpression.cs (Emit): deal with binary expressions
	where only the left is lifted.


svn path=/trunk/mcs/; revision=105018
2008-06-05 13:05:13 +00:00
Jb Evain c0b1ca0c1b fix left and right shift
svn path=/trunk/mcs/; revision=105015
2008-06-05 12:46:16 +00:00
Jb Evain 450c21ef27 correctly check unary operators parameters
svn path=/trunk/mcs/; revision=104996
2008-06-05 12:10:48 +00:00
Jb Evain ecbe887cad of course we can test bool equality
svn path=/trunk/mcs/; revision=104990
2008-06-05 11:41:23 +00:00
Jb Evain 3f3ca7e3b6 better check parameters
svn path=/trunk/mcs/; revision=104984
2008-06-05 11:29:26 +00:00
Jb Evain 7b29921f4d 2008-06-05 Jb Evain <[email protected]>
* Extensions.cs: Add Type.MakeNullableType helper.
	* Expression.cs (MakeSimpleBinary, MakeBoolBinar): Properly
	creat lifted/lifted to null/not lifted
	user defined binary expressions.
	* BinaryExpression.cs (Emit): implement compilation of
	lifted and lifted to null user defined binary operators.


svn path=/trunk/mcs/; revision=104973
2008-06-05 10:56: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 d1653dae48 add fixme
svn path=/trunk/mcs/; revision=104673
2008-06-02 15:17:43 +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 5626fb103e fix coalesce nullable to non nullable
svn path=/trunk/mcs/; revision=104506
2008-05-30 11:12:45 +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 052c600d6d refactor
svn path=/trunk/mcs/; revision=104470
2008-05-29 20:34:29 +00:00
Jb Evain 201aeafc02 rework coalesce
svn path=/trunk/mcs/; revision=104466
2008-05-29 19:43:33 +00:00
Jb Evain a136f74a3f be consistent
svn path=/trunk/mcs/; revision=104458
2008-05-29 18:39:44 +00:00
Jb Evain 75ff9b5f9a 2008-05-29 Jb Evain <[email protected]>
* Expression.cs (Power): allow bool?.
	* BinaryExpression.cs: properly deal with lifted power expression.


svn path=/trunk/mcs/; revision=104453
2008-05-29 18:13:35 +00:00
Jb Evain f17f3ce8f2 2008-05-29 Jb Evain <[email protected]>
* BinaryExpression.cs (Emit): fix lifted andalso and orelse.


svn path=/trunk/mcs/; revision=104432
2008-05-29 16:09:07 +00:00
Jb Evain b33a686ff1 more meaningful names for my return labels
svn path=/trunk/mcs/; revision=104424
2008-05-29 15:31:28 +00:00
Jb Evain 019504b5cc rework
svn path=/trunk/mcs/; revision=104422
2008-05-29 15:22:27 +00:00
Jb Evain 5f137252d6 fix last test
svn path=/trunk/mcs/; revision=104416
2008-05-29 15:04:49 +00:00
Jb Evain d5d494e786 not needed anymore
svn path=/trunk/mcs/; revision=104404
2008-05-29 13:57:42 +00:00
Jb Evain d998a09eb5 start reworking logical operators
svn path=/trunk/mcs/; revision=104401
2008-05-29 13:55:09 +00:00
Jb Evain 45673a17a6 refactoring
svn path=/trunk/mcs/; revision=104397
2008-05-29 13:11:02 +00:00
Jb Evain 02e9dfb959 refactoring
svn path=/trunk/mcs/; revision=104393
2008-05-29 12:24:16 +00:00
Jb Evain 05dcf4cc34 refactoring
svn path=/trunk/mcs/; revision=104389
2008-05-29 11:47:47 +00:00
Jb Evain df07894dd4 rename
svn path=/trunk/mcs/; revision=104388
2008-05-29 11:39:43 +00:00