Branch: Tag:

2014-06-17

2014-06-17 15:08:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

GC: Propagate the extra parameter everywhere.

All the visit_*() functions and macros should now propagate the
argument extra.

394:      #define allocate_mapping(X) dmalloc_touch(struct mapping *,debug_allocate_mapping(X))    - #define visit_mapping_ref(M, REF_TYPE) \ + #define visit_mapping_ref(M, REF_TYPE, EXTRA) \    visit_ref (pass_mapping (M), (REF_TYPE), \ -  (visit_thing_fn *) &visit_mapping, NULL) +  (visit_thing_fn *) &visit_mapping, (EXTRA))   #define gc_cycle_check_mapping(X, WEAK) \    gc_cycle_enqueue((gc_cycle_check_cb *) real_gc_cycle_check_mapping, (X), (WEAK))      #endif /* MAPPING_H */