projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2009-01-26 Zoltan Varga <vargaz@gmail.com>
[mono.git]
/
mono
/
mini
/
exceptions-amd64.c
diff --git
a/mono/mini/exceptions-amd64.c
b/mono/mini/exceptions-amd64.c
index 84dca7f4dd50cce0f4e67fa25d23af5466253233..f8d578ade1d9e90b1577e68a0e77303d14b186b4 100644
(file)
--- a/
mono/mini/exceptions-amd64.c
+++ b/
mono/mini/exceptions-amd64.c
@@
-1049,6
+1049,13
@@
mono_arch_notify_pending_exc (void)
*(gpointer*)(lmf->rsp - 8) = get_throw_pending_exception ();
}
+void
+mono_arch_exceptions_init (void)
+{
+ /* Call this to avoid initialization races */
+ get_throw_pending_exception ();
+}
+
#ifdef PLATFORM_WIN32
/*