[x86/Linux] Invoke gcResetForBB() in genFuncletProlog (dotnet/coreclr#10186)
authorHanjoung Lee <waterets@gmail.com>
Tue, 21 Mar 2017 22:00:56 +0000 (07:00 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 21 Mar 2017 22:00:56 +0000 (23:00 +0100)
Commit migrated from https://github.com/dotnet/coreclr/commit/75a87c0d929c6b87b0fdd03da1fb2489125c2eaa

src/coreclr/src/jit/codegencommon.cpp

index 90a9149..e6482ff 100644 (file)
@@ -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