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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
627d3c3cc1
change log
...
svn path=/trunk/mcs/; revision=103284
2008-05-15 15:02:02 +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
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
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
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
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
4a8934e194
2008-04-27 Jb Evain <[email protected] >
...
* ConstantExpression.cs (Emit): emit properly null nullable types.
svn path=/trunk/mcs/; revision=101995
2008-04-27 17:39:32 +00:00
Jb Evain
ce6f081f4c
2008-04-27 Jb Evain <[email protected] >
...
* Expression.cs: improve method finder.
svn path=/trunk/mcs/; revision=101992
2008-04-27 17:15:30 +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
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
c67ad2e6a1
2008-04-23 Jb Evain <[email protected] >
...
* ConstantExpression.cs (Emit): properly Emit null constants.
svn path=/trunk/mcs/; revision=101562
2008-04-23 16:25:53 +00:00
Jb Evain
093660d913
2008-04-23 Jb Evain <[email protected] >
...
* Expression.cs (Constant): check for assignability, not for type
equality, when a type is passed.
svn path=/trunk/mcs/; revision=101534
2008-04-23 11:49:52 +00:00