Improved Windows ABI support
This commit is contained in:
@ -123,6 +123,8 @@ func (c *compiler) compile(x asm.Instruction) {
|
||||
|
||||
case asm.PUSH:
|
||||
switch operands := x.Data.(type) {
|
||||
case *asm.Number:
|
||||
c.code = x86.PushNumber(c.code, operands.Number)
|
||||
case *asm.Register:
|
||||
c.code = x86.PushRegister(c.code, operands.Register)
|
||||
}
|
||||
|
Reference in New Issue
Block a user