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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2016-01-27 01:53:23 +0300
committerZoltan Varga <vargaz@gmail.com>2016-01-27 01:53:23 +0300
commit414fccaa21fb8c65f503da76559bfd023588cf99 (patch)
tree4651ab86640767609f7b8b807548bbd117d0c012
parent2b2030587682bdeb1d5b5f1c547ffda7f87515d5 (diff)
[runtime] Get rid of mono_thread_force_interruption_checkpoint (), its not used anymore.
-rw-r--r--mono/metadata/threads-types.h1
-rw-r--r--mono/metadata/threads.c14
-rw-r--r--mono/mini/aot-runtime.c2
3 files changed, 0 insertions, 17 deletions
diff --git a/mono/metadata/threads-types.h b/mono/metadata/threads-types.h
index 6f2ca195f42..d90e8e122fc 100644
--- a/mono/metadata/threads-types.h
+++ b/mono/metadata/threads-types.h
@@ -237,7 +237,6 @@ MonoException* mono_thread_request_interruption (mono_bool running_managed);
gboolean mono_thread_interruption_requested (void);
MonoException* mono_thread_interruption_checkpoint (void);
MonoException* mono_thread_force_interruption_checkpoint_noraise (void);
-void mono_thread_force_interruption_checkpoint (void);
gint32* mono_thread_interruption_request_flag (void);
uint32_t mono_alloc_special_static_data (uint32_t static_type, uint32_t size, uint32_t align, uintptr_t *bitmap, int numbits);
diff --git a/mono/metadata/threads.c b/mono/metadata/threads.c
index 041e8686610..7578499a854 100644
--- a/mono/metadata/threads.c
+++ b/mono/metadata/threads.c
@@ -4497,20 +4497,6 @@ mono_thread_force_interruption_checkpoint_noraise (void)
}
/*
- * Performs the interruption of the current thread, if one has been requested.
- * Throw the exception which needs to be thrown, if any.
- */
-void
-mono_thread_force_interruption_checkpoint (void)
-{
- MonoException *ex;
-
- ex = mono_thread_interruption_checkpoint_request (TRUE);
- if (ex)
- mono_raise_exception (ex);
-}
-
-/*
* mono_thread_get_and_clear_pending_exception:
*
* Return any pending exceptions for the current thread and clear it as a side effect.
diff --git a/mono/mini/aot-runtime.c b/mono/mini/aot-runtime.c
index 50b07f61363..850670d0c7b 100644
--- a/mono/mini/aot-runtime.c
+++ b/mono/mini/aot-runtime.c
@@ -4861,8 +4861,6 @@ load_function_full (MonoAotModule *amodule, const char *name, MonoTrampInfo **ou
if (ji->type == MONO_PATCH_INFO_JIT_ICALL_ADDR) {
if (!strcmp (ji->data.name, "mono_get_lmf_addr")) {
target = mono_get_lmf_addr;
- } else if (!strcmp (ji->data.name, "mono_thread_force_interruption_checkpoint")) {
- target = mono_thread_force_interruption_checkpoint;
} else if (!strcmp (ji->data.name, "mono_thread_force_interruption_checkpoint_noraise")) {
target = mono_thread_force_interruption_checkpoint_noraise;
} else if (!strcmp (ji->data.name, "mono_interruption_checkpoint_from_trampoline")) {