-
-
Save lewurm/6de007036b770ce0bdea4f3ae5c42558 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/mono/mini/mini-arm.c | |
+++ b/mono/mini/mini-arm.c | |
@@ -2374,7 +2374,7 @@ mono_arch_get_llvm_call_info (MonoCompile *cfg, MonoMethodSignature *sig) | |
lainfo->nslots = ALIGN_TO (ainfo->struct_size, 8) / 8; | |
lainfo->esize = 8; | |
} else { | |
- lainfo->nslots = ainfo->struct_size / sizeof (target_mgreg_t); | |
+ lainfo->nslots = ALIGN_TO (ainfo->struct_size, sizeof (target_mgreg_t)) / sizeof (target_mgreg_t); | |
lainfo->esize = 4; | |
} | |
break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment