Commit e1178973 by Kresten Krab Thorup

(__clear_cache): add case for new CLEAR_INSN_CACHE.

From-SVN: r5391
parent 1108dc3d
...@@ -1598,6 +1598,9 @@ void ...@@ -1598,6 +1598,9 @@ void
__clear_cache (beg, end) __clear_cache (beg, end)
char *beg, *end; char *beg, *end;
{ {
#ifdef CLEAR_INSN_CACHE
CLEAR_INSN_CACHE (beg, end);
#else
#ifdef INSN_CACHE_SIZE #ifdef INSN_CACHE_SIZE
static char array[INSN_CACHE_SIZE + INSN_CACHE_PLANE_SIZE + INSN_CACHE_LINE_WIDTH]; static char array[INSN_CACHE_SIZE + INSN_CACHE_PLANE_SIZE + INSN_CACHE_LINE_WIDTH];
static int initialized = 0; static int initialized = 0;
...@@ -1696,6 +1699,7 @@ __clear_cache (beg, end) ...@@ -1696,6 +1699,7 @@ __clear_cache (beg, end)
#endif /* just one plane */ #endif /* just one plane */
#endif /* Cache is large */ #endif /* Cache is large */
#endif /* Cache exists */ #endif /* Cache exists */
#endif /* CLEAR_INSN_CACHE */
} }
#endif /* L_clear_cache */ #endif /* L_clear_cache */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment