[generator] Treat arm64_32 as arm64 when dealing with objc_msgSend behavior.
This commit is contained in:
Родитель
2696403bd6
Коммит
0378b33aa6
|
@ -3863,7 +3863,12 @@ public partial class Generator : IMemberGatherer {
|
|||
if (is_stret_multi) {
|
||||
print ("if (Runtime.Arch == Arch.DEVICE) {");
|
||||
indent++;
|
||||
print ("if (IntPtr.Size == 8) {");
|
||||
if (BindingTouch.CurrentPlatform == PlatformName.WatchOS) {
|
||||
print ("if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {");
|
||||
} else {
|
||||
print ("if (IntPtr.Size == 8) {");
|
||||
|
||||
}
|
||||
indent++;
|
||||
GenerateInvoke (false, supercall, mi, minfo, selector, args [index64], assign_to_temp, category_type, false, EnumMode.Bit64);
|
||||
indent--;
|
||||
|
|
Загрузка…
Ссылка в новой задаче