Remove workarounds for LLVM bug 33220

This commit is contained in:
Svyatoslav Scherbina
2017-12-05 10:31:10 +03:00
committed by SvyatoslavScherbina
parent b51d029a33
commit 0279cee371
2 changed files with 1 additions and 9 deletions
-6
View File
@@ -170,12 +170,6 @@ void ThrowException(KRef exception) {
PrintThrowable(exception);
RuntimeAssert(false, "Exceptions unsupported");
#else
#if (__MINGW32__ || __MINGW64__)
// Workaround for https://bugs.llvm.org/show_bug.cgi?id=33220
// This code forces the function to have at least one landingpad:
ObjHolder toBeDestructed(exception);
#endif
throw ObjHolder(exception);
#endif
}