Quick fix for breakage of non-i386 arches in previous commit. Only
use TARGET_PROFILER_EPILOGUE if it is defined.
This commit is contained in:
parent
60f4b54d8f
commit
a36805bd93
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124167
@ -6997,6 +6997,7 @@ expand_function_end (filename, line, end_bindings)
|
||||
Pmode);
|
||||
}
|
||||
|
||||
#ifdef TARGET_PROFILER_EPILOGUE
|
||||
if (current_function_profile && TARGET_PROFILER_EPILOGUE)
|
||||
{
|
||||
static rtx mexitcount_libfunc;
|
||||
@ -7009,6 +7010,7 @@ expand_function_end (filename, line, end_bindings)
|
||||
}
|
||||
emit_library_call (mexitcount_libfunc, LCT_NORMAL, VOIDmode, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Let except.c know where it should emit the call to unregister
|
||||
the function context for sjlj exceptions. */
|
||||
|
Loading…
Reference in New Issue
Block a user