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
8e47921f04
Properly call methods on enumerations in compiled expression trees.
...
2010-07-26 Jb Evain <[email protected] >
* EmitContext.cs: Properly call methods on enumerations.
Fixes #625367 .
2010-07-26 13:04:19 +02:00
Jb Evain
fd7182588a
in System.Runtime.CompilerServices:
...
2009-11-14 Jb Evain <[email protected] >
* ExecutionScope.cs: implement IsolateExpression.
in System.Linq.Expressions:
2009-11-14 Jb Evain <[email protected] >
* UnaryExpression.cs: isolate quoted expressions.
* EmitContext.cs (ParameterReplacer): new helper type
to replace the parameters of isolated expressions.
Fix #550722 .
svn path=/trunk/mcs/; revision=146209
2009-11-14 15:50:23 +00:00
Jb Evain
81abd9f00e
adjust name
...
svn path=/trunk/mcs/; revision=128730
2009-03-05 22:02:27 +00:00
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
7fe8b7e58d
blah
...
svn path=/trunk/mcs/; revision=106571
2008-06-25 16:47:16 +00:00
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
d15222c9ca
make IsNullable an extension method
...
svn path=/trunk/mcs/; revision=104493
2008-05-30 09:37:59 +00:00
Jb Evain
45673a17a6
refactoring
...
svn path=/trunk/mcs/; revision=104397
2008-05-29 13:11:02 +00:00
Jb Evain
336369a2e4
refactoring
...
svn path=/trunk/mcs/; revision=104245
2008-05-28 13:42:33 +00:00
Jb Evain
8632fd1ba5
refactoring
...
svn path=/trunk/mcs/; revision=104141
2008-05-27 13:40:52 +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
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
407194ebe6
oops
...
svn path=/trunk/mcs/; revision=102815
2008-05-08 15:38:14 +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
Jb Evain
7fef926217
inline variable
...
svn path=/trunk/mcs/; revision=102062
2008-04-28 18:24:38 +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
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
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
607c910e2f
refactoring
...
svn path=/trunk/mcs/; revision=101236
2008-04-20 11:06:31 +00:00
Jb Evain
78684826f9
refactor
...
svn path=/trunk/mcs/; revision=101218
2008-04-19 15:57:13 +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
8d33e13da7
ifdef out DebugContext on net_2_1
...
svn path=/trunk/mcs/; revision=99367
2008-03-30 19:53:15 +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
5b0ae83e6d
fix build
...
svn path=/trunk/mcs/; revision=97521
2008-03-06 14:58:29 +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
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
0ba2a62ec8
oops
...
svn path=/trunk/mcs/; revision=96366
2008-02-21 16:40:11 +00:00
Jb Evain
538904d278
cleanup
...
svn path=/trunk/mcs/; revision=96365
2008-02-21 16:39:12 +00:00
Jb Evain
9d895cd2cd
generate dynamic method's names
...
svn path=/trunk/mcs/; revision=94679
2008-02-03 12:56:17 +00:00
Jb Evain
df9b3d07ad
not needed
...
svn path=/trunk/mcs/; revision=94371
2008-01-30 13:01:00 +00:00
Jb Evain
15d5f962e6
adjust visibility
...
svn path=/trunk/mcs/; revision=94370
2008-01-30 12:55:03 +00:00
Jb Evain
2f7f1e3b50
2008-01-30 Jb Evain <[email protected] >
...
* LambdaExpression.cs, EmitContext.cs: small refactoring.
Extract the different EmitContexts to their own file.
svn path=/trunk/mcs/; revision=94369
2008-01-30 12:51:26 +00:00