summaryrefslogtreecommitdiffhomepage
path: root/logic/pipeline.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-11 15:52:03 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-11 18:44:03 +0100
commitaa3b01a556a60ce09123e93263642193da86982b (patch)
tree37c89d7e9350c2cb2d8fc48792966af790df0e29 /logic/pipeline.cpp
parent1f17378532c24e2442b9fff8ccb5ea0b0936a2c0 (diff)
compat/macros: remove prefix
Let's not be concerned about global namespace pollution. These identifiers aren't exposed in the api/ directory.
Diffstat (limited to 'logic/pipeline.cpp')
-rw-r--r--logic/pipeline.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp
index 81ee05b2..bc8026ed 100644
--- a/logic/pipeline.cpp
+++ b/logic/pipeline.cpp
@@ -217,7 +217,7 @@ static inline bool is_nan(const dmat<u,w>& r)
return false;
}
-static cc_noinline
+static never_inline
void emit_nan_check_msg(const char* text, const char* fun, int line)
{
eval_once(
@@ -229,7 +229,7 @@ void emit_nan_check_msg(const char* text, const char* fun, int line)
}
template<typename... xs>
-static cc_noinline
+static never_inline
bool maybe_nan(const char* text, const char* fun, int line, const xs&... vals)
{
bool ret = (is_nan(vals) || ... || false);
@@ -243,7 +243,7 @@ bool maybe_nan(const char* text, const char* fun, int line, const xs&... vals)
#define nan_check(...) \
do \
{ \
- if (likely(!maybe_nan(#__VA_ARGS__, cc_function_name, __LINE__, __VA_ARGS__))) \
+ if (likely(!maybe_nan(#__VA_ARGS__, function_name, __LINE__, __VA_ARGS__))) \
(void)0; \
else \
goto error; \