diff --git a/bolt/test/runtime/X86/Inputs/exception3.cpp b/bolt/test/runtime/X86/Inputs/exception3.cpp --- a/bolt/test/runtime/X86/Inputs/exception3.cpp +++ b/bolt/test/runtime/X86/Inputs/exception3.cpp @@ -16,10 +16,6 @@ throw ExcC(); } -void filter_only(int a) throw (ExcA, ExcB, ExcC, ExcD, ExcE, ExcF) { - foo(a); -} - int main(int argc, char **argv) { asm volatile ("nop;nop;nop;nop;nop"); @@ -41,7 +37,7 @@ asm volatile ("nop;nop;nop;nop;nop"); try { asm volatile ("nop;nop;nop;nop;nop"); - filter_only(argc); + foo(argc); } catch (ExcC) { asm volatile ("nop;nop;nop;nop;nop"); printf("caught ExcC\n"); diff --git a/bolt/test/runtime/X86/Inputs/exception4.cpp b/bolt/test/runtime/X86/Inputs/exception4.cpp --- a/bolt/test/runtime/X86/Inputs/exception4.cpp +++ b/bolt/test/runtime/X86/Inputs/exception4.cpp @@ -16,10 +16,6 @@ throw ExcC(); } -void filter_only(int a) throw (ExcA, ExcB, ExcC, ExcD, ExcE, ExcF) { - foo(a); -} - void never_throws() throw () { printf("this statement is cold and should be outlined\n"); } @@ -46,7 +42,7 @@ try { try { - filter_only(argc); + foo(argc); } catch (ExcC) { printf("caught ExcC\n"); }