undo incorrect replacements

This commit is contained in:
ahgamut 2021-11-02 10:53:37 +05:30
parent f0e8f7dcd0
commit 115f86ed26
5 changed files with 6 additions and 6 deletions

View file

@ -15,7 +15,7 @@ STATIC_YOINK("huge_compiler_rt_license");
#define DST_SINGLE
#include "third_party/compiler_rt/fp_extend_impl.inc"
// Use a forwarding definition and dontinline to implement a poor man's alias,
// Use a forwarding definition and noinline to implement a poor man's alias,
// as there isn't a good cross-platform way of defining one.
COMPILER_RT_ABI __attribute__((__noinline__)) float __extendhfsf2(uint16_t a) {
return __extendXfYf2__(a);

View file

@ -14,7 +14,7 @@ STATIC_YOINK("huge_compiler_rt_license");
#define DST_HALF
#include "third_party/compiler_rt/fp_trunc_impl.inc"
// Use a forwarding definition and dontinline to implement a poor man's alias,
// Use a forwarding definition and noinline to implement a poor man's alias,
// as there isn't a good cross-platform way of defining one.
COMPILER_RT_ABI __attribute__((__noinline__)) uint16_t __truncsfhf2(float a) {
return __truncXfYf2__(a);

View file

@ -164,9 +164,9 @@ void _Py_set_387controlword(unsigned short);
#pragma float_control(precise, on)
#pragma float_control(except, on)
#if defined(_MSC_VER)
__declspec(dontinline)
__declspec(noinline)
#else /* Linux */
__attribute__((dontinline))
__attribute__((noinline))
#endif /* _MSC_VER */
static double __icc_nan() {
return sqrt(-1.0);

View file

@ -720,7 +720,7 @@ static int jsonParseAddNode(JsonParse*,u32,u32,const char*);
#if defined(__GNUC__)
#define JSON_NOINLINE __attribute__((__noinline__))
#elif defined(_MSC_VER) && _MSC_VER >= 1310
#define JSON_NOINLINE __declspec(dontinline)
#define JSON_NOINLINE __declspec(noinline)
#else
# define JSON_NOINLINE
#endif

View file

@ -242,7 +242,7 @@
#if defined(__GNUC__)
#define SQLITE_NOINLINE __attribute__((__noinline__))
#elif defined(_MSC_VER) && _MSC_VER >= 1310
#define SQLITE_NOINLINE __declspec(dontinline)
#define SQLITE_NOINLINE __declspec(noinline)
#else
# define SQLITE_NOINLINE
#endif