summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-01-16 20:59:00 +0900
committerJan Vorlicek <janvorli@microsoft.com>2017-01-16 12:59:00 +0100
commitbc63a8b9a7e899c2ed46e0fad8ec4564faefb8c1 (patch)
treee5c3e288688576a71bdb3f4310368282e2a2bbdd
parent094a2a0d9935afaf603a99c971bef76f61f4ed57 (diff)
downloadcoreclr-bc63a8b9a7e899c2ed46e0fad8ec4564faefb8c1.tar.gz
coreclr-bc63a8b9a7e899c2ed46e0fad8ec4564faefb8c1.tar.bz2
coreclr-bc63a8b9a7e899c2ed46e0fad8ec4564faefb8c1.zip
[x86/Linux] Port ''ExceptionTracker::UpdateNonvolatileRegisters' (#8915)
-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);