Change noinline to dontinline (#312)

We defined `noinline` as an abbreviation for the longer version
`__attribute__((__noinline__))` which caused name clashes since
third party codebases often write it as `__attribute__((noinline))`.
This commit is contained in:
Gautham 2021-11-13 04:42:18 +05:30 committed by GitHub
parent ca611efc43
commit 6f658f058b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 122 additions and 122 deletions

View file

@ -4536,7 +4536,7 @@ static int LuaIsAcceptablePort(lua_State *L) {
return LuaIsValid(L, IsAcceptablePort);
}
static noinline int LuaCoderImpl(lua_State *L,
static dontinline int LuaCoderImpl(lua_State *L,
char *C(const char *, size_t, size_t *)) {
void *p;
size_t n;
@ -4547,7 +4547,7 @@ static noinline int LuaCoderImpl(lua_State *L,
return 1;
}
static noinline int LuaCoder(lua_State *L,
static dontinline int LuaCoder(lua_State *L,
char *C(const char *, size_t, size_t *)) {
return LuaCoderImpl(L, C);
}
@ -4612,7 +4612,7 @@ static int LuaVisualizeControlCodes(lua_State *L) {
return LuaCoder(L, VisualizeControlCodes);
}
static noinline int LuaHasherImpl(lua_State *L, size_t k,
static dontinline int LuaHasherImpl(lua_State *L, size_t k,
int H(const void *, size_t, uint8_t *)) {
void *p;
size_t n;
@ -4624,7 +4624,7 @@ static noinline int LuaHasherImpl(lua_State *L, size_t k,
return 1;
}
static noinline int LuaHasher(lua_State *L, size_t k,
static dontinline int LuaHasher(lua_State *L, size_t k,
int H(const void *, size_t, uint8_t *)) {
return LuaHasherImpl(L, k, H);
}
@ -4774,7 +4774,7 @@ static int LuaCrc32c(lua_State *L) {
return LuaHash(L, crc32c);
}
static noinline int LuaProgramInt(lua_State *L, void P(long)) {
static dontinline int LuaProgramInt(lua_State *L, void P(long)) {
P(luaL_checkinteger(L, 1));
return 0;
}
@ -4809,7 +4809,7 @@ static int LuaProgramSslTicketLifetime(lua_State *L) {
return LuaProgramInt(L, ProgramSslTicketLifetime);
}
static noinline int LuaProgramString(lua_State *L, void P(const char *)) {
static dontinline int LuaProgramString(lua_State *L, void P(const char *)) {
P(luaL_checkstring(L, 1));
return 0;
}
@ -4920,7 +4920,7 @@ static int LuaProgramRedirect(lua_State *L) {
return 0;
}
static noinline int LuaProgramBool(lua_State *L, bool *b) {
static dontinline int LuaProgramBool(lua_State *L, bool *b) {
*b = lua_toboolean(L, 1);
return 0;
}