diff options
author | bde <bde@FreeBSD.org> | 2004-01-06 10:38:48 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-01-06 10:38:48 +0000 |
commit | 4c0ab24ab76111aef32d9d4cdb7374adf82e9901 (patch) | |
tree | b1d3c0d6bd67b0abcf4cf746882642d393eceffd /contrib/gcc | |
parent | 77da48ef10288d0fa66b5cf39c619d85bfabc975 (diff) | |
download | FreeBSD-src-4c0ab24ab76111aef32d9d4cdb7374adf82e9901.zip FreeBSD-src-4c0ab24ab76111aef32d9d4cdb7374adf82e9901.tar.gz |
Quick fix for breakage of non-i386 arches in previous commit. Only
use TARGET_PROFILER_EPILOGUE if it is defined.
Diffstat (limited to 'contrib/gcc')
-rw-r--r-- | contrib/gcc/function.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/gcc/function.c b/contrib/gcc/function.c index 71627b6..06a93d9 100644 --- a/contrib/gcc/function.c +++ b/contrib/gcc/function.c @@ -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. */ |