projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/SDCCsymt.h: added IS_AUTO(symbol) test macro
[fw/sdcc]
/
src
/
SDCCopt.c
diff --git
a/src/SDCCopt.c
b/src/SDCCopt.c
index 4e9c2a7be560647efde1841a42b6a0a9efcf780c..93668913bfebe1ee4448c2ae94ea30d6001c9bb2 100644
(file)
--- a/
src/SDCCopt.c
+++ b/
src/SDCCopt.c
@@
-611,10
+611,7
@@
convertToFcall (eBBlock ** ebbs, int count)
static int
isLocalWithoutDef (symbol * sym)
{
- if (!sym->level)
- return 0;
-
- if (IS_STATIC (sym->etype))
+ if (!IS_AUTO (sym))
return 0;
if (IS_VOLATILE (sym->type))