Commit cd55971
committed
Fix #310 - nullable conversion with ignored result
It should also help a bit other conversions with ignored result -
whenever we know what the conversion will always pass, we
don't need to emit any code. In some cases, this may save a boxing
conversion (and it will probably save some work for the JIT)1 parent b64abe2 commit cd55971
File tree
2 files changed
+10
-3
lines changed- src/FastExpressionCompiler
- test/FastExpressionCompiler.TestsRunner.Net472
2 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2763 | 2763 | | |
2764 | 2764 | | |
2765 | 2765 | | |
| 2766 | + | |
| 2767 | + | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
| 2771 | + | |
2766 | 2772 | | |
2767 | 2773 | | |
2768 | 2774 | | |
| |||
2813 | 2819 | | |
2814 | 2820 | | |
2815 | 2821 | | |
2816 | | - | |
2817 | | - | |
2818 | | - | |
| 2822 | + | |
2819 | 2823 | | |
2820 | 2824 | | |
2821 | 2825 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
204 | 207 | | |
205 | 208 | | |
206 | 209 | | |
| |||
0 commit comments