Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Wrighton <davidwr@microsoft.com>2016-07-15 21:55:29 +0300
committerDavid Wrighton <davidwr@microsoft.com>2016-07-15 21:55:29 +0300
commitee9e3cb8f33cc98428f0e08c22ab3140f1bf16a5 (patch)
tree7200dcab4766e2b3b0cda546ff1ba870c3771b34 /src/Native/Runtime/CMakeLists.txt
parentb25e5a54668a1765f1eac2d6c357a26cca21df38 (diff)
Replace use of ManagedCalloutThunk with Universal Thunk
Move to using the Universal Thunk for cases where we need to perform complex lookup to perform interface dispatch. This allows us to permit exceptions to occur in interface processing without ripping the process down. As a side benefit, we are able to reduce the amount of platform specific assembly code needed to build the product. NOTE: CoreRT still uses the old managed callout logic, as I don't have time on my schedule to write a SYS V ABI version of the universal transition thunk. [tfs-changeset: 1618006]
Diffstat (limited to 'src/Native/Runtime/CMakeLists.txt')
-rw-r--r--src/Native/Runtime/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Native/Runtime/CMakeLists.txt b/src/Native/Runtime/CMakeLists.txt
index 27906f6dc..7828e5e67 100644
--- a/src/Native/Runtime/CMakeLists.txt
+++ b/src/Native/Runtime/CMakeLists.txt
@@ -105,6 +105,7 @@ else()
endif()
+# when we remove LEGACY_INTERFACE_DISPATCH, remove ManagedCalloutThunk.asm
list(APPEND RUNTIME_SOURCES_ARCH_ASM
${ARCH_SOURCES_DIR}/AllocFast.${ASM_SUFFIX}
${ARCH_SOURCES_DIR}/ExceptionHandling.${ASM_SUFFIX}
@@ -130,6 +131,7 @@ add_definitions(-DVERIFY_HEAP)
add_definitions(-DCORERT)
add_definitions(-DFEATURE_CACHED_INTERFACE_DISPATCH)
add_definitions(-D_LIB)
+add_definitions(-DLEGACY_INTERFACE_DISPATCH)
if(WIN32)
# There is a problem with undefined symbol g_pConfig, windows don't care since it is in template method, but clang does