OSDN Git Service

(__clear_cache): add case for new CLEAR_INSN_CACHE.
authorkrab <krab@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Sep 1993 17:43:00 +0000 (17:43 +0000)
committerkrab <krab@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Sep 1993 17:43:00 +0000 (17:43 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5391 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/libgcc2.c

index 04fb10c..0acbe80 100644 (file)
@@ -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 */