We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 188b958 commit fb5b8f9Copy full SHA for fb5b8f9
backends/asm/optimize_ir.c
@@ -5550,10 +5550,6 @@ AnalyzeInlineEligibility(Function *f)
5550
return FuncData(f)->inliningFlags & ~prev_flags;
5551
}
5552
5553
-static inline void updateMax(int *dst, int src) {
5554
- if (*dst < src) *dst = src;
5555
-}
5556
-
5557
static bool
5558
ShouldExpandPureFunction(IR *ir) {
5559
Function *f = (Function *)ir->aux;
util/util.h
@@ -83,4 +83,9 @@ size_t to_utf8(char *s, wchar_t wcorig);
83
// convert utf-8 sequence to wide character; n is max size of cptr
84
size_t from_utf8(wchar_t *wcptr, const char *cptr, size_t n);
85
86
+
87
+static inline void updateMax(int *dst, int src) {
88
+ if (*dst < src) *dst = src;
89
+}
90
91
#endif
0 commit comments