From f7bf06f43f1d71091f9108947bd4b7b1462102be Mon Sep 17 00:00:00 2001 From: sandeep Date: Tue, 18 Dec 2001 04:16:20 +0000 Subject: [PATCH] Added check for _overlay keyword to force a function to overlay git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1695 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCmem.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SDCCmem.c b/src/SDCCmem.c index afbcdec2..18f51f8b 100644 --- a/src/SDCCmem.c +++ b/src/SDCCmem.c @@ -1019,6 +1019,9 @@ canOverlayLocals (eBBlock ** ebbs, int count) return FALSE; + /* if this is a forces overlay */ + if (IFFUNC_ISOVERLAY(currFunc->type)) return TRUE; + /* otherwise do thru the blocks and see if there any function calls if found then return false */ for (i = 0; i < count; i++) -- 2.47.2