mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-31 03:51:38 +09:00
parent
444483bf81
commit
5bf58e6044
14 changed files with 189 additions and 43 deletions
|
|
@ -1349,5 +1349,14 @@ BaselineGetFunctionThis(JSContext* cx, BaselineFrame* frame, MutableHandleValue
|
|||
return GetFunctionThis(cx, frame, res);
|
||||
}
|
||||
|
||||
bool
|
||||
CheckIsCallable(JSContext* cx, HandleValue v, CheckIsCallableKind kind)
|
||||
{
|
||||
if (!IsCallable(v))
|
||||
return ThrowCheckIsCallable(cx, kind);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace jit
|
||||
} // namespace js
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue