From a475ddbcff4a53e5263989bf5e842d86946bfc30 Mon Sep 17 00:00:00 2001 From: johnvg Date: Wed, 19 Jun 2002 14:52:26 +0000 Subject: added clear_cache git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1121 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d --- backendC/CleanCompilerSources/path_cache.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'backendC') diff --git a/backendC/CleanCompilerSources/path_cache.c b/backendC/CleanCompilerSources/path_cache.c index c8b7325..c9873d0 100644 --- a/backendC/CleanCompilerSources/path_cache.c +++ b/backendC/CleanCompilerSources/path_cache.c @@ -177,6 +177,15 @@ struct file_block **get_file_blocks_p_of_dcl_file (char *file_name) return NULL; } +extern void clear_inline_cache (void); + +void clear_cache (void) +{ + clear_path_cache(); + clear_inline_cache(); + FreePathList(); +} + void clear_path_cache (void) { int n; -- cgit v1.2.3