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
Jb Evain
b43e1d29bc
2008-04-23 Jb Evain <[email protected] >
...
* ExpressionPrinter.cs: ToString convert properly.
svn path=/trunk/mcs/; revision=101533
2008-04-23 11:49:04 +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
12af2377c9
2008-04-20 Jb Evain <[email protected] >
...
* MemberMemberBinding.cs (Emit): implement.
svn path=/trunk/mcs/; revision=101243
2008-04-20 15:05:50 +00:00
Jb Evain
75fd246e88
2008-04-19 Jb Evain <[email protected] >
...
* EmitContext.cs: infrastructure work to attach a compiled
lambda expression to an execution scope, and to detect and store
external globals in the scope.
* ConstantExpression.cs: load globals from the scope.
svn path=/trunk/mcs/; revision=101207
2008-04-19 13:28:34 +00:00
Jb Evain
23572da657
2008-04-19 Jb Evain <[email protected] >
...
* ExpressionVisitor.cs (Visit): don't die because of Power.
svn path=/trunk/mcs/; revision=101203
2008-04-19 12:14:22 +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
34453b7efd
2008-04-09 Jb Evain <[email protected] >
...
* UnaryExpression.cs: implement compilation of negate.
svn path=/trunk/mcs/; revision=100217
2008-04-09 11:49:34 +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
b984e4c514
2008-04-08 Jb Evain <[email protected] >
...
* ElementInit.cs: emit pop if the add method doesn't return void.
svn path=/trunk/mcs/; revision=100093
2008-04-08 09:39:17 +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
b005aab7bc
2008-03-19 Jb Evain <[email protected] >
...
* LambdaExpression.cs: use the new standardified IsAssignableTo,
fixes ExpressionTest_NewArrayBounds.TestArrayAssignability.
svn path=/trunk/mcs/; revision=98632
2008-03-19 21:14:32 +00:00
Jb Evain
ec54962ec9
2008-03-19 Jb Evain <[email protected] >
...
* Extensions.cs (Type.IsAssignableTo): deal with arrays.
svn path=/trunk/mcs/; revision=98631
2008-03-19 21:13:08 +00:00
Jb Evain
e764c855d6
revert
...
svn path=/trunk/mcs/; revision=98189
2008-03-13 17:36:27 +00:00
Jb Evain
b704450bfa
revert
...
svn path=/trunk/mcs/; revision=98188
2008-03-13 17:32:10 +00:00
Marek Safar
b77677bf9a
2008-03-13 Marek Safar <[email protected] >
...
* Extensions.cs: Disabled redundant OnFieldOrProperty.
svn path=/trunk/mcs/; revision=98184
2008-03-13 17:05:07 +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
5507f90e3a
2008-03-13 Jb Evain <[email protected] >
...
* NewArrayExpression.cs (EmitNewArrayBounds): implement.
svn path=/trunk/mcs/; revision=98126
2008-03-13 10:06:39 +00:00
Jb Evain
d36da9d01a
2008-03-12 Jb Evain <[email protected] >
...
* NewArrayExpression.cs (Emit): naive implementation of emit support
for array initialization.
svn path=/trunk/mcs/; revision=98007
2008-03-11 22:47:50 +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
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
b582bfe92f
2008-03-10 Jb Evain <[email protected] >
...
* TypeBinaryExpression.cs (Emit): implement.
svn path=/trunk/mcs/; revision=97856
2008-03-10 12:05:06 +00:00
Jb Evain
cfd19f9980
2008-03-08 Jb Evain <[email protected] >
...
* MemberListBinding.cs (Emit): implement.
* MemberBinding.cs (EmitLoadMember): add helper.
svn path=/trunk/mcs/; revision=97775
2008-03-08 16:56:04 +00:00
Jb Evain
2f722ebbaa
2008-03-08 Jb Evain <[email protected] >
...
* MemberAssignment.cs (Emit): implement.
svn path=/trunk/mcs/; revision=97764
2008-03-08 14:56:35 +00:00
Jb Evain
734dc2f5a5
2008-03-08 Jb Evain <[email protected] >
...
* ElementInit.cs (Emit): implement.
svn path=/trunk/mcs/; revision=97756
2008-03-08 14:08:33 +00:00
Jb Evain
740446d02b
2008-03-06 Jb Evain <[email protected] >
...
* EmitContext.cs: the DebugContext delegate the CreateDelegate
to a DynamicContext to avoid visibility issues in debug mode.
svn path=/trunk/mcs/; revision=97517
2008-03-06 14:02:21 +00:00
Jb Evain
c57079e453
2008-03-06 Jb Evain <[email protected] >
...
* EmitContext.cs: Lambda methods bypass JIT visibility checks.
svn path=/trunk/mcs/; revision=97515
2008-03-06 13:54:40 +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
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
34e58737d5
2008-02-25 Jb Evain <[email protected] >
...
* NewExpression.cs (Emit): deal with value types construction.
svn path=/trunk/mcs/; revision=96597
2008-02-25 21:48:31 +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
0c14456101
2008-02-24 Jb Evain <[email protected] >
...
* LambdaExpression.cs, EmitContext.cs: make compilation
of delegate returning void work.
svn path=/trunk/mcs/; revision=96505
2008-02-24 13:07:38 +00:00
Jb Evain
33fb1b99db
2008-02-24 Jb Evain <[email protected] >
...
* MethodCallExpression.cs: emit call or callvirt depending
on the virtuality of the method.
svn path=/trunk/mcs/; revision=96504
2008-02-24 13:06:33 +00:00
Jb Evain
f64d9e2d88
2008-02-24 Jb Evain <[email protected] >
...
* LambdaExpression.cs: properly format error message.
svn path=/trunk/mcs/; revision=96503
2008-02-24 12:45:42 +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