Marek Safar
a208b628e9
Implements lifted nullable comparison with null
2013-08-16 15:18:49 +02:00
Miguel de Icaza
b6d1b4492f
Class libraries: introduce mobile_static profile, for MonoTouch-like static builds, but not limited to iOS (WinStore, Kumpera did the work).
2013-07-30 16:51:38 -04:00
Rodrigo Kumpera
e88bef33b7
Add Full AOT support for System.Linq.Expression.
...
* System.Core/System.Linq.Expressions/*.cs: To bring LINQ expressions
to Full AOT we disable all code that depends on SRE or dynamic code generation.
2012-11-06 18:18:13 -05:00
Jb Evain
633e47364f
a lil refactoring
...
svn path=/trunk/mcs/; revision=109562
2008-08-04 13:43:00 +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
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
85f8c499be
turn GetNotNullable into an extension method for consistency
...
svn path=/trunk/mcs/; revision=108212
2008-07-18 09:05:17 +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
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
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
1535a89121
dead code
...
svn path=/trunk/mcs/; revision=105088
2008-06-05 18:58:14 +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
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
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
5626fb103e
fix coalesce nullable to non nullable
...
svn path=/trunk/mcs/; revision=104506
2008-05-30 11:12:45 +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
bb97427c0c
remove uneeded variable
...
svn path=/trunk/mcs/; revision=102066
2008-04-28 19:17:19 +00:00
Jb Evain
484b45ea76
2008-03-11 Jb Evain <[email protected] >
...
* BinaryExpression.cs: very naive implementation of emitting
array accesses.
svn path=/trunk/mcs/; revision=97999
2008-03-11 21:49:20 +00:00
Jb Evain
6f28b0a720
2008-03-11 Jb Evain <[email protected] >
...
* *.cs: Move the different Emit* helpers to EmitContext,
so that they get used more naturally by the non Expression
types.
svn path=/trunk/mcs/; revision=97992
2008-03-11 19:29:28 +00:00
Jb Evain
38047d801d
2008-03-06 Jb Evain <[email protected] >
...
* BinaryExpression.cs, Expression.cs: move EmitStored from
BinaryExpression to Expression.
* MethodCallExpression.cs: allow method calls on structs.
svn path=/trunk/mcs/; revision=97460
2008-03-05 22:31:43 +00:00
Jb Evain
1113134612
no need for this guy
...
svn path=/trunk/mcs/; revision=97433
2008-03-05 19:33:15 +00:00
Jb Evain
153e2f655e
refactoring
...
svn path=/trunk/mcs/; revision=97397
2008-03-05 15:00:11 +00:00
Jb Evain
f9ce39d0bc
we have tests for that now
...
svn path=/trunk/mcs/; revision=96769
2008-02-27 14:03:45 +00:00
Jb Evain
341a2ada9c
2008-02-21 Jb Evain <[email protected] >
...
* BinaryExpression.cs (EmitCoalesce): fix setup_null.
svn path=/trunk/mcs/; revision=96368
2008-02-21 16:47:07 +00:00
Jb Evain
538904d278
cleanup
...
svn path=/trunk/mcs/; revision=96365
2008-02-21 16:39:12 +00:00
Jb Evain
c2f6ca24c8
2008-02-21 Jb Evain <[email protected] >
...
* BinaryExpression.cs (Emit): fix the both_are_null case.
svn path=/trunk/mcs/; revision=96350
2008-02-21 14:36:02 +00:00
Miguel de Icaza
c11152b046
2008-01-22 Miguel de Icaza <[email protected] >
...
* BinaryExpression.cs: Unleash the power of cut and paste.
Bring a bunch of operatros from mcs/expression.cs
* Expression.cs: There is no op_LogicalAnd or op_LogicalOr, I just
used those from mcs, that was wrong. use the proper ones, clean
up the result.
* BinaryExpression.cs: Add method invocations for binary methods.
svn path=/trunk/mcs/; revision=93613
2008-01-23 01:18:25 +00:00