Merge pull request dotnet/corefx#16035 from JonHanna/single_pass_tryemitconstant
authorVladimir Sadov <vsadov@microsoft.com>
Fri, 17 Feb 2017 21:14:12 +0000 (13:14 -0800)
committerGitHub <noreply@github.com>
Fri, 17 Feb 2017 21:14:12 +0000 (13:14 -0800)
commit8c7b691442f31d9fd129631cac3b5c941077b3a2
tree61ec16cacad3e50e1c8b449df4fb462f0db0f6dc
parentd88dc6162af87d44719c75f50a80c9b836b2805c
parent8660177331d201abc1606adb4a83a0e112102255
Merge pull request dotnet/corefx#16035 from JonHanna/single_pass_tryemitconstant

Have S.L.Expressions compiler test and add constants in a single pass.

Commit migrated from https://github.com/dotnet/corefx/commit/31cb598e14f543be608a05f0c959abc40b5323e3
src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/ILGen.cs
src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/LambdaCompiler.Expressions.cs