Differences From Artifact [8d78186ef9]:
- File src/runtime/class.m — part of check-in [2d8aa8b1e6] at 2018-04-29 19:26:23 on branch trunk — runtime: Specify m68k registers for most functions (user: js, size: 20099) [annotate] [blame] [check-ins using] [more...]
To Artifact [b4196ed858]:
- File
src/runtime/class.m
— part of check-in
[2ae3bc33e1]
at
2018-04-30 14:51:49
on branch trunk
— runtime: Never use assert()
This results in stdio being linked in when building an Amiga library. (user: js, size: 20084) [annotate] [blame] [check-ins using]
︙ | |||
18 19 20 21 22 23 24 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | - - | #include "config.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> |
︙ | |||
580 581 582 583 584 585 586 | 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 | - + | objc_global_mutex_lock(); if ((ret = malloc((classes_cnt + 1) * sizeof(Class))) == NULL) OBJC_ERROR("Failed to allocate memory for class list!"); count = objc_getClassList(ret, classes_cnt); |
︙ | |||
916 917 918 919 920 921 922 | 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 | - + | * UINT32_MAX so that it will get increased at the end * of the loop and thus become 0. */ i = UINT32_MAX; } } |