Force inline SendLuaCallstack().

This commit is contained in:
Bartosz Taudul 2019-03-05 02:07:28 +01:00
parent 3e81e44d75
commit b37a9055d5

View File

@ -128,6 +128,7 @@ static inline void LuaRemove( char* script )
#include "common/TracyColor.hpp" #include "common/TracyColor.hpp"
#include "common/TracyAlign.hpp" #include "common/TracyAlign.hpp"
#include "common/TracyForceInline.hpp"
#include "common/TracySystem.hpp" #include "common/TracySystem.hpp"
#include "client/TracyProfiler.hpp" #include "client/TracyProfiler.hpp"
@ -141,7 +142,7 @@ LuaZoneState& GetLuaZoneState();
namespace detail namespace detail
{ {
static inline void SendLuaCallstack( lua_State* L, uint32_t depth ) static tracy_force_inline void SendLuaCallstack( lua_State* L, uint32_t depth )
{ {
assert( depth <= 64 ); assert( depth <= 64 );
lua_Debug dbg[64]; lua_Debug dbg[64];