summaryrefslogtreecommitdiff
path: root/clrdefinitions.cmake
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-05-17 05:49:01 -0700
committerJan Vorlicek <janvorli@microsoft.com>2017-05-17 05:49:01 -0700
commitb6f9dbf426d688af91021357c49d9b17c5bdf525 (patch)
tree440b4cd19376ddd66e343a9ff83af855e9adc2f0 /clrdefinitions.cmake
parent4704e9af61bd23695e382bc498553e457d3be77a (diff)
downloadcoreclr-b6f9dbf426d688af91021357c49d9b17c5bdf525.tar.gz
coreclr-b6f9dbf426d688af91021357c49d9b17c5bdf525.tar.bz2
coreclr-b6f9dbf426d688af91021357c49d9b17c5bdf525.zip
Switch multicast delegate stub on Windows x64 to use stubs-as-il (#11624)
Fixes #11611. The old hand generated assembly path did not work well for structs passed by reference.
Diffstat (limited to 'clrdefinitions.cmake')
-rw-r--r--clrdefinitions.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/clrdefinitions.cmake b/clrdefinitions.cmake
index 6db2b24483..7fb6537731 100644
--- a/clrdefinitions.cmake
+++ b/clrdefinitions.cmake
@@ -81,11 +81,13 @@ endif(WIN32)
add_definitions(-DFEATURE_APPDOMAIN_RESOURCE_MONITORING)
if(WIN32)
add_definitions(-DFEATURE_APPX)
- if(CLR_CMAKE_TARGET_ARCH_AMD64 OR CLR_CMAKE_TARGET_ARCH_ARM OR CLR_CMAKE_TARGET_ARCH_ARM64)
+ if(NOT CLR_CMAKE_TARGET_ARCH_I386)
add_definitions(-DFEATURE_ARRAYSTUB_AS_IL)
+ add_definitions(-DFEATURE_MULTICASTSTUB_AS_IL)
endif()
else(WIN32)
add_definitions(-DFEATURE_ARRAYSTUB_AS_IL)
+ add_definitions(-DFEATURE_MULTICASTSTUB_AS_IL)
endif(WIN32)
add_definitions(-DFEATURE_COLLECTIBLE_TYPES)