Differences From Artifact [aedf6b0f5f]:
- File src/runtime/class.m — part of check-in [e55ca11653] at 2017-06-05 01:07:26 on branch trunk — runtime: get_method(): Look in categories first (user: js, size: 19431) [annotate] [blame] [check-ins using] [more...]
To Artifact [de3e6ed813]:
- File
src/runtime/class.m
— part of check-in
[79011c5f56]
at
2017-06-07 21:38:21
on branch trunk
— runtime: Move all globals into a single struct
This is required to create a .library on MorphOS. (user: js, size: 19492) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
22 23 24 25 26 27 28 | #include <limits.h> #include <assert.h> #import "runtime.h" #import "runtime-private.h" | > | | | | | | | | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | #include <limits.h> #include <assert.h> #import "runtime.h" #import "runtime-private.h" #import "globals.h" #define classes objc_globals.classes #define classes_cnt objc_globals.classes_cnt #define load_queue objc_globals.load_queue #define load_queue_cnt objc_globals.load_queue_cnt #define empty_dtable objc_globals.empty_dtable #define lookups_till_fast_path objc_globals.lookups_till_fast_path #define fast_path objc_globals.fast_path static void register_class(struct objc_abi_class *cls) { if (classes == NULL) classes = objc_hashtable_new( objc_hash_string, objc_equal_string, 2); |
︙ | ︙ |