summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vm/exceptionhandling.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/vm/exceptionhandling.cpp b/src/vm/exceptionhandling.cpp
index f8a3171d2a..de0eff1dc6 100644
--- a/src/vm/exceptionhandling.cpp
+++ b/src/vm/exceptionhandling.cpp
@@ -405,7 +405,14 @@ void ExceptionTracker::UpdateNonvolatileRegisters(CONTEXT *pContextRecord, REGDI
} \
} while (0)
-#if defined(_TARGET_AMD64_)
+#if defined(_TARGET_X86_)
+
+ UPDATEREG(Ebx);
+ UPDATEREG(Esi);
+ UPDATEREG(Edi);
+ UPDATEREG(Ebp);
+
+#elif defined(_TARGET_AMD64_)
UPDATEREG(Rbx);
UPDATEREG(Rbp);