Commit Graph
376 Commits
Author SHA1 Message Date
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
Jb Evain 627d3c3cc1 change log
svn path=/trunk/mcs/; revision=103284
2008-05-15 15:02:02 +00:00
Jb Evain db413fc328 2008-05-15 Jb Evain <[email protected]>
* Extensions.cs: add a few useful extensions such as
	IsGenericInstanceOf and MakeGenericFrom.


svn path=/trunk/mcs/; revision=103283
2008-05-15 15:01:34 +00:00
Jb Evain 35926a2037 oops, missed that one
svn path=/trunk/mcs/; revision=103273
2008-05-15 13:09:34 +00:00
Jb Evain 0aea4a9e73 cleol + props
svn path=/trunk/mcs/; revision=103272
2008-05-15 13:08:59 +00:00
Roei Erez 6561ede795 Add implementation for AsQueryable.
svn path=/trunk/mcs/; revision=103265
2008-05-15 12:36:13 +00:00
Jb Evain d768c1abdb 2008-05-14 Jb Evain <[email protected]>
* EmitContext.cs: only generate a new lambda name if we're in
	a debug context.


svn path=/trunk/mcs/; revision=103188
2008-05-14 14:22:09 +00:00
Jb Evain 3865601b87 2008-05-14 Jb Evain <[email protected]>
* LambdaExpression.cs, EmitContext.cs: When encountering a lambda
	inside an ET, compile it as a read of a global. Based on a patch
	by Roei Erez <[email protected]>


svn path=/trunk/mcs/; revision=103177
2008-05-14 12:49:34 +00:00
Jb Evain 407194ebe6 oops
svn path=/trunk/mcs/; revision=102815
2008-05-08 15:38:14 +00:00
Jb Evain c8cdf0ba3c 2008-05-08 Jb Evain <[email protected]>
* Expression.cs, EmitContext.cs: deal with call to methods
	with byref parameters.


svn path=/trunk/mcs/; revision=102813
2008-05-08 15:35:37 +00:00
Jb Evain f1c18cd19b proper file header
svn path=/trunk/mcs/; revision=102811
2008-05-08 15:34:53 +00:00
Jb Evain 58c7843036 hm
svn path=/trunk/mcs/; revision=102806
2008-05-08 14:10:52 +00:00
Roei Erez e9a0b8ef7f isolate unsupported flow using TARGET_JVM compilation flag.
svn path=/trunk/mcs/; revision=102701
2008-05-07 07:46:48 +00:00
Jb Evain 57257c33a2 2008-05-03 Jb Evain <[email protected]>
* LambdaExpression.cs: move checks to Expression
	* Expression.cs: apply check for both typed and untyped lambda
	creation, so that the constructor does not throws exception.
	Needed to create instances of Expression<> for untyped lambda
	factory method. Fixes #386322.


svn path=/trunk/mcs/; revision=102398
2008-05-02 22:50:14 +00:00
Jb Evain 1c840889d3 blah
svn path=/trunk/mcs/; revision=102367
2008-05-02 19:11:58 +00:00
Jb Evain 04b6830abb hide helper methods to the world
svn path=/trunk/mcs/; revision=102366
2008-05-02 19:09:39 +00:00
Jb Evain 1aa921d5f0 2008-05-02 Jb Evain <[email protected]>
* Expression.cs: make Emit virtual instead of abstract,
	to allow externals libraries to extend Expression.
	Patch by Jan Oravec <[email protected]>. Fixes #386097.


svn path=/trunk/mcs/; revision=102364
2008-05-02 18:56:41 +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 bb97427c0c remove uneeded variable
svn path=/trunk/mcs/; revision=102066
2008-04-28 19:17:19 +00:00
Jb Evain f5511d40d7 remove uneeded local variable
svn path=/trunk/mcs/; revision=102065
2008-04-28 19:14:32 +00:00
Jb Evain 7fef926217 inline variable
svn path=/trunk/mcs/; revision=102062
2008-04-28 18:24:38 +00:00
Jb Evain 138137a9f6 2008-04-28 Jb Evain <[email protected]>
* EmitContext.cs: deal with globals when encountering them while
	compiling, and not ahead of time with a dedicated visitor.


svn path=/trunk/mcs/; revision=102061
2008-04-28 18:19:56 +00:00
Jb Evain b6b3b23bdb fix the build
svn path=/trunk/mcs/; revision=102009
2008-04-28 07:25:34 +00:00