summaryrefslogtreecommitdiff
path: root/src/vm/virtualcallstub.cpp
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2015-09-08 21:04:28 (GMT)
committerJan Vorlicek <janvorli@microsoft.com>2015-09-08 21:04:28 (GMT)
commit731957fdf39aa0afd30e415c97bcdd3c7aeac137 (patch)
tree915fbcfa5d19a2074a00fcc45aa1c9d5ba9fd558 /src/vm/virtualcallstub.cpp
parent2d2d0a5b512e2832565c448d9b4c6d6c1897f150 (diff)
downloadcoreclr-731957fdf39aa0afd30e415c97bcdd3c7aeac137.zip
coreclr-731957fdf39aa0afd30e415c97bcdd3c7aeac137.tar.gz
coreclr-731957fdf39aa0afd30e415c97bcdd3c7aeac137.tar.bz2
Fix missing uses of the INSTALL_MANAGED_EXCEPTION_DISPATCHER
This fixes issues stemming from my recent changes in managed exception dispatching where I have missed few places where we need to perform managed exception dispatching or unhandled exception reporting.
Diffstat (limited to 'src/vm/virtualcallstub.cpp')
-rw-r--r--src/vm/virtualcallstub.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vm/virtualcallstub.cpp b/src/vm/virtualcallstub.cpp
index 729d90c..a0672c0 100644
--- a/src/vm/virtualcallstub.cpp
+++ b/src/vm/virtualcallstub.cpp
@@ -1536,9 +1536,11 @@ PCODE VSD_ResolveWorker(TransitionBlock * pTransitionBlock,
if (pObj == NULL) {
pSDFrame->SetForNullReferenceException();
pSDFrame->Push(CURRENT_THREAD);
+ INSTALL_MANAGED_EXCEPTION_DISPATCHER;
INSTALL_UNWIND_AND_CONTINUE_HANDLER;
COMPlusThrow(kNullReferenceException);
UNINSTALL_UNWIND_AND_CONTINUE_HANDLER;
+ UNINSTALL_MANAGED_EXCEPTION_DISPATCHER;
_ASSERTE(!"Throw returned");
}