mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
Fix spelling error of 'ROBLOX' (#277)
* Remove roblox prefix on comment
This commit is contained in:
parent
9488f2379d
commit
3eff1b214e
@ -53,7 +53,7 @@ const float* luaV_tovector(const TValue* obj)
|
|||||||
static void callTMres(lua_State* L, StkId res, const TValue* f, const TValue* p1, const TValue* p2)
|
static void callTMres(lua_State* L, StkId res, const TValue* f, const TValue* p1, const TValue* p2)
|
||||||
{
|
{
|
||||||
ptrdiff_t result = savestack(L, res);
|
ptrdiff_t result = savestack(L, res);
|
||||||
// RBOLOX: using stack room beyond top is technically safe here, but for very complicated reasons:
|
// using stack room beyond top is technically safe here, but for very complicated reasons:
|
||||||
// * The stack guarantees 1 + EXTRA_STACK room beyond stack_last (see luaD_reallocstack) will be allocated
|
// * The stack guarantees 1 + EXTRA_STACK room beyond stack_last (see luaD_reallocstack) will be allocated
|
||||||
// * we cannot move luaD_checkstack above because the arguments are *sometimes* pointers to the lua
|
// * we cannot move luaD_checkstack above because the arguments are *sometimes* pointers to the lua
|
||||||
// stack and checkstack may invalidate those pointers
|
// stack and checkstack may invalidate those pointers
|
||||||
@ -74,7 +74,7 @@ static void callTMres(lua_State* L, StkId res, const TValue* f, const TValue* p1
|
|||||||
|
|
||||||
static void callTM(lua_State* L, const TValue* f, const TValue* p1, const TValue* p2, const TValue* p3)
|
static void callTM(lua_State* L, const TValue* f, const TValue* p1, const TValue* p2, const TValue* p3)
|
||||||
{
|
{
|
||||||
// RBOLOX: using stack room beyond top is technically safe here, but for very complicated reasons:
|
// using stack room beyond top is technically safe here, but for very complicated reasons:
|
||||||
// * The stack guarantees 1 + EXTRA_STACK room beyond stack_last (see luaD_reallocstack) will be allocated
|
// * The stack guarantees 1 + EXTRA_STACK room beyond stack_last (see luaD_reallocstack) will be allocated
|
||||||
// * we cannot move luaD_checkstack above because the arguments are *sometimes* pointers to the lua
|
// * we cannot move luaD_checkstack above because the arguments are *sometimes* pointers to the lua
|
||||||
// stack and checkstack may invalidate those pointers
|
// stack and checkstack may invalidate those pointers
|
||||||
|
Loading…
Reference in New Issue
Block a user