diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-08-22 00:59:49 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | d6f368a3f400fea3e89280262a8147e7ce5d855c (patch) | |
tree | 4eb64eb0d18dad1e40c70a5bff974fe8033fe389 /executor/x86_64 | |
parent | df640dc7f55fef962b598562e10d8dd4d60fedc0 (diff) |
Move thread work from compiler/parser to thread_work file, fix use after free bug in multithreaded parser allocator
Diffstat (limited to 'executor/x86_64')
-rw-r--r-- | executor/x86_64/asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/x86_64/asm.c b/executor/x86_64/asm.c index 606e539..c741f15 100644 --- a/executor/x86_64/asm.c +++ b/executor/x86_64/asm.c @@ -315,7 +315,7 @@ static void asm_rm(Asm *self, AsmPtr *mem, Reg64 reg) { } *self->code_it++ = (reg << 3) | rm_byte; - /* RSP requires SIB byte when displacement is not 0 */ + /* RSP requires SIB byte */ if(mem->base == RSP) *self->code_it++ = 0x24; } |