diff --git a/meta/template/jit.profile.lua b/meta/template/jit.profile.lua index d0e788ceb..a7db77bf0 100644 --- a/meta/template/jit.profile.lua +++ b/meta/template/jit.profile.lua @@ -4,14 +4,14 @@ local profile = {} ---@param mode string ----@param func fun(L:thread,samples:integer,vmst:string) +---@param func fun(L: thread, samples: integer, vmst: string) function profile.start(mode, func) end function profile.stop() end ----@overload fun(th:thread,fmt:string,depth:integer) +---@overload fun(th: thread, fmt: string, depth: integer) ---@param fmt string ---@param depth integer function profile.dumpstack(fmt, depth) diff --git a/meta/template/jit.util.lua b/meta/template/jit.util.lua index 086942866..cf525527a 100644 --- a/meta/template/jit.util.lua +++ b/meta/template/jit.util.lua @@ -105,7 +105,7 @@ end function util.tracemc(tr) end ----@overload fun(exitno:integer):integer +---@overload fun(exitno: integer): integer ---@param tr Trace ---@param exitno integer ---@return integer? addr