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
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