[arm64] Assert that the displacement is not out of range int he b/bl macros, instead...
[mono.git] / mono / arch / s390x / tramp.c
index 43306fb9a4c0d5bf522fb40612af76c57c5f42d7..fe9f3107a34af95e19459e74d5244d712a0df219 100644 (file)
@@ -151,6 +151,7 @@ enum_retvalue:
                case MONO_TYPE_OBJECT:
                case MONO_TYPE_R4:
                case MONO_TYPE_R8:
+               case MONO_TYPE_PTR:
                case MONO_TYPE_SZARRAY:
                case MONO_TYPE_ARRAY:
                case MONO_TYPE_STRING: