Added fallback for numbers that can't be encoded on arm64
This commit is contained in:
@ -28,12 +28,12 @@ func Finalize(a *asm.Assembler, dlls dll.List) ([]byte, []byte) {
|
||||
switch config.TargetArch {
|
||||
case config.ARM:
|
||||
for _, x := range a.Instructions {
|
||||
c.compileARM(x)
|
||||
c.ARM(x)
|
||||
}
|
||||
|
||||
case config.X86:
|
||||
for _, x := range a.Instructions {
|
||||
c.compileX86(x)
|
||||
c.X86(x)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user