Improved label consistency
This commit is contained in:
@ -23,7 +23,7 @@ func (c *compiler) move(x asm.Instruction) {
|
||||
opSize := len(c.code) - size - start
|
||||
regLabel := x.Data.(*asm.RegisterLabel)
|
||||
|
||||
if strings.HasPrefix(regLabel.Label, "data_") {
|
||||
if strings.HasPrefix(regLabel.Label, "data ") {
|
||||
c.dataPointers = append(c.dataPointers, &pointer{
|
||||
Position: Address(len(c.code) - size),
|
||||
OpSize: uint8(opSize),
|
||||
|
Reference in New Issue
Block a user