H.lB -> H.makeLeafDispatchRecord

This commit is contained in:
shenjack 2024-04-04 23:35:47 +08:00
parent aebdcc8c05
commit 120ee91071
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -1467,7 +1467,7 @@ var A = {
s = r.prototype s = r.prototype
p = n[0] p = n[0]
if (p === "!") { if (p === "!") {
m = H.lB(s) m = H.makeLeafDispatchRecord(s)
$.lt[n] = m $.lt[n] = m
Object.defineProperty(obj, init.dispatchPropertyName, { Object.defineProperty(obj, init.dispatchPropertyName, {
value: m, value: m,
@ -1482,7 +1482,7 @@ var A = {
return s return s
} }
if (p === "-") { if (p === "-") {
o = H.lB(s) o = H.makeLeafDispatchRecord(s)
Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, { Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {
value: o, value: o,
enumerable: false, enumerable: false,
@ -1494,7 +1494,7 @@ var A = {
if (p === "+") return H.patchInteriorProto(obj, s) if (p === "+") return H.patchInteriorProto(obj, s)
if (p === "*") throw H.wrap_expression(P.hT(n)) if (p === "*") throw H.wrap_expression(P.hT(n))
if (init.leafTags[n] === true) { if (init.leafTags[n] === true) {
o = H.lB(s) o = H.makeLeafDispatchRecord(s)
Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, { Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {
value: o, value: o,
enumerable: false, enumerable: false,
@ -1514,12 +1514,12 @@ var A = {
}) })
return b return b
}, },
lB(a) { makeLeafDispatchRecord(a) {
return J.makeDispatchRecord(a, false, null, !!a.$iag) return J.makeDispatchRecord(a, false, null, !!a.$iag)
}, },
v3(a, b, c) { v3(a, b, c) {
var s = b.prototype var s = b.prototype
if (init.leafTags[a] === true) return H.lB(s) if (init.leafTags[a] === true) return H.makeLeafDispatchRecord(s)
else return J.makeDispatchRecord(s, c, null, null) else return J.makeDispatchRecord(s, c, null, null)
}, },
uY() { uY() {