summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanjoung Lee <waterets@gmail.com>2017-03-22 07:00:56 +0900
committerJan Vorlicek <janvorli@microsoft.com>2017-03-21 23:00:56 +0100
commit75a87c0d929c6b87b0fdd03da1fb2489125c2eaa (patch)
treeefd0ba298b619b936130e6219286d4d15304dcd7
parent8b7e09d96bc33a0d0159cf15331b6b669ae6d33a (diff)
downloadcoreclr-75a87c0d929c6b87b0fdd03da1fb2489125c2eaa.tar.gz
coreclr-75a87c0d929c6b87b0fdd03da1fb2489125c2eaa.tar.bz2
coreclr-75a87c0d929c6b87b0fdd03da1fb2489125c2eaa.zip
[x86/Linux] Invoke gcResetForBB() in genFuncletProlog (#10186)
-rw-r--r--src/jit/codegencommon.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jit/codegencommon.cpp b/src/jit/codegencommon.cpp
index 90a9149af9..e6482ff447 100644
--- a/src/jit/codegencommon.cpp
+++ b/src/jit/codegencommon.cpp
@@ -10368,6 +10368,8 @@ void CodeGen::genFuncletProlog(BasicBlock* block)
ScopedSetVariable<bool> _setGeneratingProlog(&compiler->compGeneratingProlog, true);
+ gcInfo.gcResetForBB();
+
compiler->unwindBegProlog();
// This is the end of the OS-reported prolog for purposes of unwinding