shithub: orca

Download patch

ref: 189b7adaaac1b4fc133c51c860ce47ca346d7058
parent: 74e5f814dd6404ee4fde1e6e5be6fa8b8c7da48a
author: cancel <cancel@cancel.fm>
date: Fri Nov 30 18:24:25 EST 2018

Mark another fn not inline

I could easily clean this one up to not have a loop, though

--- a/sim.c
+++ b/sim.c
@@ -19,7 +19,7 @@
 // Always returns 0 through (sizeof indexed_glyphs) - 1, and works on
 // capitalized glyphs as well. The index of the lower-cased glyph is returned
 // if the glyph is capitalized.
-static inline Usz semantic_index_of_glyph(Glyph c) {
+static ORCA_FORCE_NO_INLINE Usz semantic_index_of_glyph(Glyph c) {
   Glyph c0 = glyph_lowered(c);
   if (c0 == '.')
     return 0;