diff options
author | Michal Strehovský <MichalStrehovsky@users.noreply.github.com> | 2019-05-30 17:37:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-30 17:37:23 +0200 |
commit | 7143390a5834d22213ffbbc04f8817b1c401fb83 (patch) | |
tree | 1630ad4da5594a70b90e71df5cfdaa19a720b9e4 /src/inc | |
parent | ecc0b6f732a6b1a626d30e2c02d0bcaa7bc69668 (diff) | |
download | coreclr-7143390a5834d22213ffbbc04f8817b1c401fb83.tar.gz coreclr-7143390a5834d22213ffbbc04f8817b1c401fb83.tar.bz2 coreclr-7143390a5834d22213ffbbc04f8817b1c401fb83.zip |
Implement R2R helpers for synchronized methods (#24646)
Synchronized methods show up when `Console` is used and the missing helper mapping would cause us not to AOT compile them.
Diffstat (limited to 'src/inc')
-rw-r--r-- | src/inc/readytorun.h | 4 | ||||
-rw-r--r-- | src/inc/readytorunhelpers.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/inc/readytorun.h b/src/inc/readytorun.h index d28d78c67d..7745ad6e2f 100644 --- a/src/inc/readytorun.h +++ b/src/inc/readytorun.h @@ -311,6 +311,10 @@ enum ReadyToRunHelper READYTORUN_HELPER_PersonalityRoutineFilterFunclet = 0xF1, #endif + // Synchronized methods + READYTORUN_HELPER_MonitorEnter = 0xF8, + READYTORUN_HELPER_MonitorExit = 0xF9, + // // Deprecated/legacy // diff --git a/src/inc/readytorunhelpers.h b/src/inc/readytorunhelpers.h index a8c2327f51..c677f3787a 100644 --- a/src/inc/readytorunhelpers.h +++ b/src/inc/readytorunhelpers.h @@ -114,6 +114,8 @@ HELPER(READYTORUN_HELPER_EndCatch, CORINFO_HELP_ENDCATCH, HELPER(READYTORUN_HELPER_PInvokeBegin, CORINFO_HELP_JIT_PINVOKE_BEGIN, ) HELPER(READYTORUN_HELPER_PInvokeEnd, CORINFO_HELP_JIT_PINVOKE_END, ) +HELPER(READYTORUN_HELPER_MonitorEnter, CORINFO_HELP_MON_ENTER, ) +HELPER(READYTORUN_HELPER_MonitorExit, CORINFO_HELP_MON_EXIT, ) #undef HELPER #undef OPTIMIZEFORSPEED |