From 176128ba92021d87009bea3cab87888108d94660 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Thu, 4 Apr 2024 23:20:11 +0800 Subject: [PATCH] H.nF -> H.BoundClosure_selfOf --- branch/latest/md5.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/branch/latest/md5.js b/branch/latest/md5.js index ad8a4c2..af88af2 100644 --- a/branch/latest/md5.js +++ b/branch/latest/md5.js @@ -1247,51 +1247,51 @@ var A = { } throw H.wrap_expression("Error in functionType of tearoff") }, - Closure_cspForwardCall(a, b, c, d) { - var s = H.nF - switch (b ? -1 : a) { + Closure_cspForwardCall(arity, is_super_call, stub_name, func) { + var get_self = H.nF + switch (is_super_call ? -1 : arity) { case 0: return function (e, f) { return function () { return f(this)[e]() } - }(c, s) + }(stub_name, get_self) case 1: return function (e, f) { return function (g) { return f(this)[e](g) } - }(c, s) + }(stub_name, get_self) case 2: return function (e, f) { return function (g, h) { return f(this)[e](g, h) } - }(c, s) + }(stub_name, get_self) case 3: return function (e, f) { return function (g, h, i) { return f(this)[e](g, h, i) } - }(c, s) + }(stub_name, get_self) case 4: return function (e, f) { return function (g, h, i, j) { return f(this)[e](g, h, i, j) } - }(c, s) + }(stub_name, get_self) case 5: return function (e, f) { return function (g, h, i, j, k) { return f(this)[e](g, h, i, j, k) } - }(c, s) + }(stub_name, get_self) default: return function (e, f) { return function () { return e.apply(f(this), arguments) } - }(d, s) + }(func, get_self) } }, nH(a, b, c, d) {