Improved assembler performance

This commit is contained in:
2025-03-11 06:31:21 +01:00
parent d2ad8c8310
commit e7a06f5b26
37 changed files with 412 additions and 166 deletions

View File

@ -25,8 +25,8 @@ func (c *compiler) jump(x asm.Instruction) {
c.code = x86.Jump8(c.code, 0x00)
}
label := c.assembler.Param.Label[x.Index]
size := 1
label := x.Data.(*asm.Label)
pointer := &pointer{
Position: Address(len(c.code) - size),