mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
ca9d8d3960
8 changed files with 31 additions and 65 deletions
|
|
@ -5593,9 +5593,6 @@ TryAttachCallStub(JSContext* cx, ICCall_Fallback* stub, HandleScript script, jsb
|
|||
RootedObject obj(cx, &callee.toObject());
|
||||
if (!obj->is<JSFunction>()) {
|
||||
// Try to attach a stub for a call/construct hook on the object.
|
||||
// Ignore proxies, which are special cased by callHook/constructHook.
|
||||
if (obj->is<ProxyObject>())
|
||||
return true;
|
||||
if (JSNative hook = constructing ? obj->constructHook() : obj->callHook()) {
|
||||
if (op != JSOP_FUNAPPLY && !isSpread && !createSingleton) {
|
||||
RootedObject templateObject(cx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue