H.nF -> H.BoundClosure_selfOf

This commit is contained in:
shenjack 2024-04-04 23:20:11 +08:00
parent 5735658dbd
commit 176128ba92
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -1247,51 +1247,51 @@ var A = {
} }
throw H.wrap_expression("Error in functionType of tearoff") throw H.wrap_expression("Error in functionType of tearoff")
}, },
Closure_cspForwardCall(a, b, c, d) { Closure_cspForwardCall(arity, is_super_call, stub_name, func) {
var s = H.nF var get_self = H.nF
switch (b ? -1 : a) { switch (is_super_call ? -1 : arity) {
case 0: case 0:
return function (e, f) { return function (e, f) {
return function () { return function () {
return f(this)[e]() return f(this)[e]()
} }
}(c, s) }(stub_name, get_self)
case 1: case 1:
return function (e, f) { return function (e, f) {
return function (g) { return function (g) {
return f(this)[e](g) return f(this)[e](g)
} }
}(c, s) }(stub_name, get_self)
case 2: case 2:
return function (e, f) { return function (e, f) {
return function (g, h) { return function (g, h) {
return f(this)[e](g, h) return f(this)[e](g, h)
} }
}(c, s) }(stub_name, get_self)
case 3: case 3:
return function (e, f) { return function (e, f) {
return function (g, h, i) { return function (g, h, i) {
return f(this)[e](g, h, i) return f(this)[e](g, h, i)
} }
}(c, s) }(stub_name, get_self)
case 4: case 4:
return function (e, f) { return function (e, f) {
return function (g, h, i, j) { return function (g, h, i, j) {
return f(this)[e](g, h, i, j) return f(this)[e](g, h, i, j)
} }
}(c, s) }(stub_name, get_self)
case 5: case 5:
return function (e, f) { return function (e, f) {
return function (g, h, i, j, k) { return function (g, h, i, j, k) {
return f(this)[e](g, h, i, j, k) return f(this)[e](g, h, i, j, k)
} }
}(c, s) }(stub_name, get_self)
default: default:
return function (e, f) { return function (e, f) {
return function () { return function () {
return e.apply(f(this), arguments) return e.apply(f(this), arguments)
} }
}(d, s) }(func, get_self)
} }
}, },
nH(a, b, c, d) { nH(a, b, c, d) {