diff options
-rw-r--r-- | bfcomp.c | 6 | ||||
-rw-r--r-- | epilogue.snippet.asm | 2 | ||||
-rw-r--r-- | prologue.snippet.asm | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -339,8 +339,10 @@ void readsource(FILE *f,char **sourcep,Sourcemap **smp){ sourcei++; continue; } - if(sm)sm->maps[i].from=sourcei; - if(sm)sm->maps[i].to=sourcei+1; + if(sm){ + sm->maps[i].from=sourcei; + sm->maps[i].to=sourcei+1; + } source[i++]=c; sourcei++; } diff --git a/epilogue.snippet.asm b/epilogue.snippet.asm index fffddb7..b37d48b 100644 --- a/epilogue.snippet.asm +++ b/epilogue.snippet.asm @@ -1,4 +1,6 @@ + nop + mov rdi, [buf] ; EPILOGUE call _free diff --git a/prologue.snippet.asm b/prologue.snippet.asm index e706651..a1768a4 100644 --- a/prologue.snippet.asm +++ b/prologue.snippet.asm @@ -35,6 +35,8 @@ _main: mov r12, rax %endif + nop + ; rbx = bufp ; r12 = heatmap |