projects
/
uebersetzerbau-ss10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gesamt: methodenaufrufe der art 'ID(...)'
[uebersetzerbau-ss10.git]
/
gesamt
/
chelper.c
diff --git
a/gesamt/chelper.c
b/gesamt/chelper.c
index edef8449a52f5522147691e48a72578faa50dd2e..448b07b2d47e76cf5c8bd85a5fdf9f809cc94568 100644
(file)
--- a/
gesamt/chelper.c
+++ b/
gesamt/chelper.c
@@
-39,11
+39,12
@@
void func_footer(void)
{
if(need_stack)
printf("\tleave\n");
- printf("\tret\n");
+ printf("\tret\n
\n\n
");
}
void move(char *src, char *dst)
{
+ if(src == (char*) NULL) return;
if(strcmp(src,dst) != 0) {
printf("\tmovq %%%s, %%%s\n", src, dst);
}