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
9949715217
rename
...
svn path=/trunk/mcs/; revision=101972
2008-04-27 12:03:57 +00:00
Jb Evain
59a8d738f1
protect against void types
...
svn path=/trunk/mcs/; revision=101702
2008-04-24 17:15:11 +00:00
Jb Evain
7bf7ffd09f
rename
...
svn path=/trunk/mcs/; revision=101699
2008-04-24 17:08:52 +00:00
Jb Evain
24d5638bb6
make CheckReferenceConversion protected
...
svn path=/trunk/mcs/; revision=101563
2008-04-23 16:26:38 +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
Jb Evain
635f13774a
fix retrieving of user defined convert operators
...
svn path=/trunk/mcs/; revision=101472
2008-04-22 17:39:38 +00:00
Jb Evain
62420e6e99
renaming
...
svn path=/trunk/mcs/; revision=101469
2008-04-22 17:04:52 +00:00
Jb Evain
6f75f47af5
2008-04-22 Jb Evain <[email protected] >
...
* UnaryExpression.cs: implement IsLiftedToNull properly.
* Expression.cs (Convert, ConvertChecked): implemented computing
of IsLifted and IsLiftedToNull for conversions.
svn path=/trunk/mcs/; revision=101439
2008-04-22 13:36:31 +00:00
Jb Evain
9ce04800ac
2008-04-22 Jb Evain <[email protected] >
...
* Expression.cs (Convert, ConvertChecked): implement.
svn path=/trunk/mcs/; revision=101424
2008-04-22 12:32:31 +00:00
Jb Evain
55e6fcbe63
2008-04-21 Jb Evain <[email protected] >
...
* Expression.cs (Call): don't rely on the fact that if the
instance expression is null, then it's a static call. Explicitely
check on the MethodInfo for that.
* EmitContext.cs (EmitCall): same pattern.
svn path=/trunk/mcs/; revision=101336
2008-04-21 16:09:54 +00:00
Jb Evain
a59c931ab4
refactoring
...
svn path=/trunk/mcs/; revision=100224
2008-04-09 12:19:16 +00:00
Jb Evain
5786dccf78
2008-04-09 Jb Evain <[email protected] >
...
* Expression.cs: check for illegal booleab unary expressions.
svn path=/trunk/mcs/; revision=100221
2008-04-09 12:01:06 +00:00
Jb Evain
e083f12ffc
2008-04-09 Jb Evain <[email protected] >
...
* UnaryExpression.cs, Expression.cs: implement IsLifted and IsLifted
to null for simple unary operators. Implement Not compilation.
svn path=/trunk/mcs/; revision=100215
2008-04-09 11:44:47 +00:00
Jb Evain
c1d29301cb
add null checks for convert
...
svn path=/trunk/mcs/; revision=98688
2008-03-20 20:02:15 +00:00
Jb Evain
5f7aee49d3
unrevert now that gmcs is fixed
...
svn path=/trunk/mcs/; revision=98659
2008-03-20 08:44:46 +00:00
Jb Evain
2925a40c8c
2008-03-20 Jb Evain <[email protected] >
...
* Expression.cs: use the new and more complete IsAssignableTo
instead of IsAssignableFrom.
svn path=/trunk/mcs/; revision=98655
2008-03-20 06:36:12 +00:00
Jb Evain
57d7e09ca8
refactoring
...
svn path=/trunk/mcs/; revision=98635
2008-03-19 21:45:42 +00:00
Jb Evain
b704450bfa
revert
...
svn path=/trunk/mcs/; revision=98188
2008-03-13 17:32:10 +00:00
Jb Evain
53c371bc91
2008-03-13 Jb Evain <[email protected] >
...
* Extensions.cs: a collection of useful extension methods
which are useful to S.L.E.
* Expression.cs, MemberExpression.cs,
MemberAssignment.cs, MemberBinding.cs:
refactor common pattern into a common method.
svn path=/trunk/mcs/; revision=98154
2008-03-13 15:06:57 +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
048e0cb2a4
revert simplification
...
svn path=/trunk/mcs/; revision=97868
2008-03-10 15:11:49 +00:00
Jb Evain
4c57a4d325
simplify
...
svn path=/trunk/mcs/; revision=97866
2008-03-10 14:59:36 +00:00
Jb Evain
a72aad2725
2008-03-10 Jb Evain <[email protected] >
...
* TypeBinaryExpression.cs, Expression.cs: refactor an EmitIsInst.
* UnaryExpression.cs: implement TypeAs using the EmitIsInst.
svn path=/trunk/mcs/; revision=97860
2008-03-10 13:04:13 +00:00
Jb Evain
900173dd4f
refactor
...
svn path=/trunk/mcs/; revision=97763
2008-03-08 14:56:16 +00:00
Jb Evain
0cad823445
refactor
...
svn path=/trunk/mcs/; revision=97760
2008-03-08 14:13:58 +00:00
Jb Evain
838d96dfd2
don't forget to load the result of the new expression
...
svn path=/trunk/mcs/; revision=97710
2008-03-07 18:32:18 +00:00
Jb Evain
50f329e08b
refactoring
...
svn path=/trunk/mcs/; revision=97682
2008-03-07 12:16:27 +00:00
Jb Evain
796cd76f9d
constify
...
svn path=/trunk/mcs/; revision=97624
2008-03-06 20:15:51 +00:00
Jb Evain
1584b2242f
2008-03-06 Jb Evain <[email protected] >
...
* MethodCallExpression.cs, Expression.cs: refactor method calling
into a more sophisticated EmitCall in Expression.
* InvocationExpression.cs (Emit): implement using the previous EmitCall.
svn path=/trunk/mcs/; revision=97510
2008-03-06 13:30:15 +00:00
Jb Evain
a98be1ad67
2008-03-06 Jb Evain <[email protected] >
...
* Expression.cs: add a EmitCall helper.
* MemberExpression.cs: implement property access.
svn path=/trunk/mcs/; revision=97499
2008-03-06 12:01:24 +00:00
Jb Evain
bd0f4330bd
2008-03-06 Jb Evain <[email protected] >
...
* MethodCallExpression.cs, Expression.cs: refactor a EmitLoad in Expression.
* MemberExpression.cs: use EmitLoad to load the instance field if needed.
svn path=/trunk/mcs/; revision=97497
2008-03-06 11:46:27 +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
e1fd90ecb7
2008-03-05 Jb Evain <[email protected] >
...
* Expression.cs: Fix the Call method which takes an array
of type arguments.
svn path=/trunk/mcs/; revision=97456
2008-03-05 22:09:43 +00:00
Jb Evain
ed5751787c
refactorings
...
svn path=/trunk/mcs/; revision=97384
2008-03-05 13:24:23 +00:00
Jb Evain
4ae6ecd28d
refactorings
...
svn path=/trunk/mcs/; revision=97382
2008-03-05 13:11:39 +00:00
Jb Evain
4bd4392ae0
2008-03-05 Jb Evain <[email protected] >
...
* Expression.cs: fix for a good chunk of lifted/liftToNull tests.
svn path=/trunk/mcs/; revision=97379
2008-03-05 12:40:03 +00:00
Jb Evain
4e8795f23e
2008-02-26 Jb Evain <[email protected] >
...
* Expression.cs (Call): Guess the parameters type from the argument
types if needed.
svn path=/trunk/mcs/; revision=96662
2008-02-26 16:30:07 +00:00
Jb Evain
671f52dd1b
2008-02-25 Jb Evain <[email protected] >
...
* Expression.cs, NewExpression.cs: deal with the fact that value types
don't have a parameterless constructor.
svn path=/trunk/mcs/; revision=96596
2008-02-25 21:36:07 +00:00
Jb Evain
faa61bf4a0
2008-02-20 Jb Evain <[email protected] >
...
* Expression.cs, ExpressionPrinter.cs: implement MemberBind.
svn path=/trunk/mcs/; revision=96293
2008-02-20 19:25:03 +00:00
Jb Evain
9e9972493f
2008-02-20 Jb Evain <[email protected] >
...
* Expression.cs, ExpressionPrinter.cs: implement ListInit.
svn path=/trunk/mcs/; revision=96272
2008-02-20 17:10:07 +00:00
Jb Evain
d7fb654617
2008-02-19 Jb Evain <[email protected] >
...
* Expression.cs, ExpressionPrinter.cs: implement MemberInit.
svn path=/trunk/mcs/; revision=96193
2008-02-19 21:44:00 +00:00
Jb Evain
0c1b2be434
2008-02-19 Jb Evain <[email protected] >
...
* Expression.cs, ExpressionPrinter.cs: implement last New
overload for anonymous types.
svn path=/trunk/mcs/; revision=96146
2008-02-19 14:11:37 +00:00
Jb Evain
6b052d2092
2008-02-08 Jb Evain <[email protected] >
...
* Expression.cs, InvocationExpression.cs, ExpressionPrinter.cs
add support for Invoke.
svn path=/trunk/mcs/; revision=95257
2008-02-08 14:30:36 +00:00
Jb Evain
25fa706f15
2008-02-04 Jb Evain <[email protected] >
...
* Expression.cs, NewExpression.cs: make New(Type) test pass.
svn path=/trunk/mcs/; revision=94751
2008-02-04 15:17:44 +00:00
Jb Evain
c170b3c707
clean
...
svn path=/trunk/mcs/; revision=94625
2008-02-02 13:49:37 +00:00
Jb Evain
6f6fcf74f5
2008-02-02 Jb Evain <[email protected] >
...
* Expression.cs: fix ListBind(MemberInfo,IEnumerable<ElementInit>).
svn path=/trunk/mcs/; revision=94622
2008-02-02 13:43:10 +00:00
Jb Evain
4cac0aaecd
2008-02-02 Jb Evain <[email protected] >
...
* Expression.cs: fix ListInit(MethodInfo,IEnumerable<ElementInit>).
svn path=/trunk/mcs/; revision=94618
2008-02-02 13:28:55 +00:00
Olivier Dufour
2e6db9f437
2008-02-01 Olivier Dufour <[email protected] >
...
* Expression.cs, ExpressionPrinter.cs:Add ListBind
svn path=/trunk/mcs/; revision=94572
2008-02-01 21:17:39 +00:00
Olivier Dufour
b88f4990be
2008-02-01 Olivier Dufour <[email protected] >
...
* Expression.cs, ExpressionPrinter.cs:Add Elementinit
svn path=/trunk/mcs/; revision=94530
2008-02-01 17:32:21 +00:00