Skip to content
Commit c1b352a6 authored by Philip Chimento's avatar Philip Chimento Committed by Philip Chimento
Browse files

build: Use 'always inline' macro in more places

On GCC 4.9, the inliner heuristic starts to complain again, because
SpiderMonkey 52 includes more 'always inline' functions, so when we add
ours in there, the inliner decides that functions are growing too much in
size due to inlined code.

Add a GJS_ALWAYS_INLINE macro just like Mozilla does in their code, and
use it for our templated code and other boilerplate.

https://bugzilla.gnome.org/show_bug.cgi?id=785040
parent 924dc80e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment