summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEugene Rozenfeld <erozen@microsoft.com>2018-11-23 22:37:03 -0800
committerEugene Rozenfeld <erozen@microsoft.com>2018-12-16 11:43:48 -0800
commit3e06d9f5911ffe30894b3e08ef955f645df3acd9 (patch)
tree991b88097408eb0d11cc82493976357111ebc545 /tests
parent1db91c5acd17384952d1e1f8e3079c2c8cfb78f6 (diff)
downloadcoreclr-3e06d9f5911ffe30894b3e08ef955f645df3acd9.tar.gz
coreclr-3e06d9f5911ffe30894b3e08ef955f645df3acd9.tar.bz2
coreclr-3e06d9f5911ffe30894b3e08ef955f645df3acd9.zip
Enable object stack allocation in R2R mode.
This change modified the importer to create GenTreeAllocObj node for box and newobj instead of a helper call in R2R mode. ObjectAllocator phase decides whether the object can be allocated on the stack or has to be created on the heap via a helper call. To trigger object stack allocation COMPlus_JitObjectStackAllocation has to be set (it's not set by default).
Diffstat (limited to 'tests')
-rw-r--r--tests/src/JIT/opt/ObjectStackAllocation/ObjectStackAllocationTests.csproj1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/src/JIT/opt/ObjectStackAllocation/ObjectStackAllocationTests.csproj b/tests/src/JIT/opt/ObjectStackAllocation/ObjectStackAllocationTests.csproj
index 578b800457..cbb8b6a3c9 100644
--- a/tests/src/JIT/opt/ObjectStackAllocation/ObjectStackAllocationTests.csproj
+++ b/tests/src/JIT/opt/ObjectStackAllocation/ObjectStackAllocationTests.csproj
@@ -27,7 +27,6 @@
<Compile Include="$(MSBuildProjectName).cs" />
</ItemGroup>
<PropertyGroup>
- <CrossGenTest>false</CrossGenTest>
<CLRTestBatchPreCommands>
<![CDATA[
$(CLRTestBatchPreCommands)