diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-08-14 17:41:43 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-08-14 17:41:51 +0200 |
commit | 13b733e20a277f0c40d9548553fc2f1453ea424d (patch) | |
tree | 7686c0422b5cac95436a3465ea88564c7e9a4d5a | |
parent | 472ee416b960eed639ca4f5bba6d250180eed3f0 (diff) |
Style & nops
-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 |