Improved assembler performance
This commit is contained in:
@ -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),
|
||||
|
Reference in New Issue
Block a user