wingo pushed a commit to branch wip-whippet in repository guile. commit 10017daa0c8030327cdd1214b1f57ba81503a20c Author: Andy Wingo <wi...@igalia.com> AuthorDate: Thu Oct 3 10:05:07 2024 +0200
Inline set_field in mt-gcbench --- benchmarks/mt-gcbench.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/mt-gcbench.c b/benchmarks/mt-gcbench.c index 7f342fe90..6494c22d2 100644 --- a/benchmarks/mt-gcbench.c +++ b/benchmarks/mt-gcbench.c @@ -144,8 +144,8 @@ static void allocate_garbage(struct thread *t) { } } -static void set_field(struct gc_mutator *mut, Node *obj, - Node **field, Node *val) { +static inline void set_field(struct gc_mutator *mut, Node *obj, + Node **field, Node *val) { gc_write_barrier(mut, gc_ref_from_heap_object(obj), sizeof(Node), gc_edge(field), gc_ref_from_heap_object(val));