aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKresten Krab Thorup <krab@gcc.gnu.org>1993-09-22 17:43:00 +0000
committerKresten Krab Thorup <krab@gcc.gnu.org>1993-09-22 17:43:00 +0000
commite117897348315a3184de8d4e6eb7da081590b35d (patch)
tree00e87c8b8d03c4d435c23d6f5f2c469f9ac24e7a /gcc
parent1108dc3d1fb30be1b0fbeeab9af3007251d28bc2 (diff)
downloadgcc-e117897348315a3184de8d4e6eb7da081590b35d.zip
gcc-e117897348315a3184de8d4e6eb7da081590b35d.tar.gz
gcc-e117897348315a3184de8d4e6eb7da081590b35d.tar.bz2
(__clear_cache): add case for new CLEAR_INSN_CACHE.
From-SVN: r5391
Diffstat (limited to 'gcc')
-rw-r--r--gcc/libgcc2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index 04fb10c..0acbe80 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -1598,6 +1598,9 @@ void
__clear_cache (beg, end)
char *beg, *end;
{
+#ifdef CLEAR_INSN_CACHE
+ CLEAR_INSN_CACHE (beg, end);
+#else
#ifdef INSN_CACHE_SIZE
static char array[INSN_CACHE_SIZE + INSN_CACHE_PLANE_SIZE + INSN_CACHE_LINE_WIDTH];
static int initialized = 0;
@@ -1696,6 +1699,7 @@ __clear_cache (beg, end)
#endif /* just one plane */
#endif /* Cache is large */
#endif /* Cache exists */
+#endif /* CLEAR_INSN_CACHE */
}
#endif /* L_clear_cache */