-
-
Notifications
You must be signed in to change notification settings - Fork 384
meta:fix jit module #2111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meta:fix jit module #2111
Conversation
---@field os string | ||
---@field arch string | ||
---@field os 'Windows'|'Linux'|'OSX'|'BSD'|'POSIX'|'Other' | ||
---@field arch 'x86'|'x64'|'arm'|'arm64'|'arm64be'|'ppc'|'ppc64'|'ppc64le'|'mips'|'mipsel'|'mips64'|'mips64el'|string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason you left |string
at the end of this union?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some branches support other architectures
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a valid reason. Thanks for the explanation.
local profile = {} | ||
|
||
---@param mode string | ||
---@param func fun(L:thread,samples:integer,vmst:string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you insert some spaces into your fun()
annotations in this file?
---@param func fun(L: thread, samples: integer, vmst: string)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feature is not supported by formater. You can contribute these changes into the pull.Thanks
function profile.stop() | ||
end | ||
|
||
---@overload fun(th:thread,fmt:string,depth:integer) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above
function util.tracemc(tr) | ||
end | ||
|
||
---@overload fun(exitno:integer):integer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
---@overload fun(exitno: integer): integer
我对LuaJIT不太了解,这个PR是否已准备好合并了? |
可以合并了 |
No description provided.