Commit Graph
348 Commits
Author SHA1 Message Date
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
Jb Evain ac46932181 2008-05-29 Jb Evain <[email protected]>
* BinaryExpression.cs (Emit): properly emit lifted to null
	relational binary expressions.


svn path=/trunk/mcs/; revision=104386
2008-05-29 11:34:15 +00:00
Jb Evain 096de6a48b forgot this guy
svn path=/trunk/mcs/; revision=104381
2008-05-29 10:28:20 +00:00
Jb Evain 69ffea0453 2008-05-28 Jb Evain <[email protected]>
* BinaryExpression.cs (Emit): rework compilation of
	arithmetic and relational lifted binary expressions.


svn path=/trunk/mcs/; revision=104304
2008-05-28 17:18:10 +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
Roei Erez 5ee77009f9 Add implementation for the non-generic Queryable.AsQueryable method, and some test cases.
svn path=/trunk/mcs/; revision=103562
2008-05-20 10:27:34 +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 39dc112d0c beautify
svn path=/trunk/mcs/; revision=103311
2008-05-15 18:57:22 +00:00
Jb Evain 0cccdcfea3 oh
svn path=/trunk/mcs/; revision=103288
2008-05-15 15:05:48 +00:00
Jb Evain 42cecd1166 use new method
svn path=/trunk/mcs/; revision=103286
2008-05-15 15:02:23 +00:00