Compare commits

..

No commits in common. "4e39819926209d8ab475b33a93d2f5d1cbcbf4b7" and "cbef2c40cb8c620d909bfa31cb7c39ccad874ddc" have entirely different histories.

View File

@ -188,7 +188,7 @@ function lazyOld(a, b, c, d) {
a[b] = s a[b] = s
a[c] = function () { a[c] = function () {
a[c] = function () { a[c] = function () {
H.throwCyclicInit(b) H.vl(b)
} }
var r var r
var q = d var q = d
@ -1389,14 +1389,9 @@ var A = {
return new Function(q + H.as_string(p) + "}")() return new Function(q + H.as_string(p) + "}")()
}, },
mx(a) { mx(a) {
// 理论上不能改, 但是似乎可以
// 上面是因为这玩意在普通版里是用来拼接的, 但是这里似乎没用于拼接
return H.Closure_fromTearOff(a) return H.Closure_fromTearOff(a)
}, },
rF(a, b) { rF(a, b) {
// BoundClosure_evalRecipe
// or
// BoundClosure_evalRecipeIntercepted
return H._Universe_evalInEnvironment(init.typeUniverse, H.instanceType(a.a), b) return H._Universe_evalInEnvironment(init.typeUniverse, H.instanceType(a.a), b)
}, },
BoundClosure_selfOf(a) { BoundClosure_selfOf(a) {
@ -1414,10 +1409,10 @@ var A = {
} }
throw H.wrap_expression(P.bz("Field name " + a + " not found.", null)) throw H.wrap_expression(P.bz("Field name " + a + " not found.", null))
}, },
throwCyclicInit(a) { vl(a) {
throw H.wrap_expression(new P.fj(a)) throw H.wrap_expression(new P.fj(a))
}, },
getIsolateAffinityTag(a) { uT(a) {
return init.getIsolateTag(a) return init.getIsolateTag(a)
}, },
defineProperty(a, b, c) { defineProperty(a, b, c) {
@ -1467,7 +1462,7 @@ var A = {
s = r.prototype s = r.prototype
p = n[0] p = n[0]
if (p === "!") { if (p === "!") {
m = H.makeLeafDispatchRecord(s) m = H.lB(s)
$.lt[n] = m $.lt[n] = m
Object.defineProperty(obj, init.dispatchPropertyName, { Object.defineProperty(obj, init.dispatchPropertyName, {
value: m, value: m,
@ -1482,7 +1477,7 @@ var A = {
return s return s
} }
if (p === "-") { if (p === "-") {
o = H.makeLeafDispatchRecord(s) o = H.lB(s)
Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, { Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {
value: o, value: o,
enumerable: false, enumerable: false,
@ -1491,10 +1486,10 @@ var A = {
}) })
return o.i return o.i
} }
if (p === "+") return H.patchInteriorProto(obj, s) if (p === "+") return H.oK(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.makeLeafDispatchRecord(s) o = H.lB(s)
Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, { Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {
value: o, value: o,
enumerable: false, enumerable: false,
@ -1502,9 +1497,9 @@ var A = {
configurable: true configurable: true
}) })
return o.i return o.i
} else return H.patchInteriorProto(obj, s) } else return H.oK(obj, s)
}, },
patchInteriorProto(a, b) { oK(a, b) {
var s = Object.getPrototypeOf(a) var s = Object.getPrototypeOf(a)
Object.defineProperty(s, init.dispatchPropertyName, { Object.defineProperty(s, init.dispatchPropertyName, {
value: J.makeDispatchRecord(b, s, null, null), value: J.makeDispatchRecord(b, s, null, null),
@ -1514,15 +1509,15 @@ var A = {
}) })
return b return b
}, },
makeLeafDispatchRecord(a) { lB(a) {
return J.makeDispatchRecord(a, false, null, !!a.$iag) return J.makeDispatchRecord(a, false, null, !!a.$iag)
}, },
makeDefaultDispatchRecord(a, b, c) { v3(a, b, c) {
var s = b.prototype var s = b.prototype
if (init.leafTags[a] === true) return H.makeLeafDispatchRecord(s) if (init.leafTags[a] === true) return H.lB(s)
else return J.makeDispatchRecord(s, c, null, null) else return J.makeDispatchRecord(s, c, null, null)
}, },
initNativeDispatch() { uY() {
if (true === $.mA) return if (true === $.mA) return
$.mA = true $.mA = true
if (!run_env.from_code) { if (!run_env.from_code) {
@ -1533,7 +1528,7 @@ var A = {
var s, r, q, p, o, n, m, l var s, r, q, p, o, n, m, l
$.lt = Object.create(null) $.lt = Object.create(null)
$.ly = Object.create(null) $.ly = Object.create(null)
H.initHooks() H.uX()
s = init.interceptorsByTag s = init.interceptorsByTag
r = Object.getOwnPropertyNames(s) r = Object.getOwnPropertyNames(s)
// 检测是否在网页内运行 // 检测是否在网页内运行
@ -1544,7 +1539,7 @@ var A = {
o = r[p] o = r[p]
n = $.oL.$1(o) n = $.oL.$1(o)
if (n != null) { if (n != null) {
m = H.makeDefaultDispatchRecord(o, s[o], n) m = H.v3(o, s[o], n)
if (m != null) { if (m != null) {
Object.defineProperty(n, init.dispatchPropertyName, { Object.defineProperty(n, init.dispatchPropertyName, {
value: m, value: m,
@ -1569,7 +1564,7 @@ var A = {
} }
} }
}, },
initHooks() { uX() {
var p, o, n, m = C.w() var p, o, n, m = C.w()
p = m.getTag p = m.getTag
@ -1579,10 +1574,9 @@ var A = {
$.ov = new H.lw(o) $.ov = new H.lw(o)
$.oL = new H.lx(n) $.oL = new H.lx(n)
}, },
// 笑死了, 我把所有调用删掉了(在之前的commit) cT(a, b) {
// applyHooksTransformer(transformer, hooks) { return a(b) || b
// return transformer(hooks) || hooks },
// },
JSSyntaxRegExp_makeNative(source, multiline, case_sensitive, unicode, dot_all, global) { JSSyntaxRegExp_makeNative(source, multiline, case_sensitive, unicode, dot_all, global) {
var s = multiline ? "m" : "", var s = multiline ? "m" : "",
r = case_sensitive ? "" : "i", r = case_sensitive ? "" : "i",
@ -3096,7 +3090,7 @@ var A = {
var proto, r, q, interceptor, o, n = a[init.dispatchPropertyName] var proto, r, q, interceptor, o, n = a[init.dispatchPropertyName]
if (n == null) if (n == null)
if ($.mA == null) { if ($.mA == null) {
H.initNativeDispatch() H.uY()
n = a[init.dispatchPropertyName] n = a[init.dispatchPropertyName]
} if (n != null) { } if (n != null) {
proto = n.p proto = n.p
@ -19369,7 +19363,7 @@ var t = (function rtii() {
var lazy_final = hunkHelpers.lazyFinal, var lazy_final = hunkHelpers.lazyFinal,
lazy_old = hunkHelpers.lazyOld lazy_old = hunkHelpers.lazyOld
lazy_final($, "vy", "oR", function () { lazy_final($, "vy", "oR", function () {
return H.getIsolateAffinityTag("_$dart_dartClosure") return H.uT("_$dart_dartClosure")
}) })
lazy_final($, "A0", "r7", function () { lazy_final($, "A0", "r7", function () {
return H.br(H.ki({ return H.br(H.ki({