fix(facades): reduce node count by 1 in assertionsEnabled
This commit is contained in:
parent
a881f09b77
commit
edfa35b11d
|
@ -240,8 +240,7 @@ bool isJsObject(o) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool assertionsEnabled() {
|
bool assertionsEnabled() {
|
||||||
// TODO(yjbanov): verify that this is inlined after https://github.com/dart-lang/sdk/issues/24355
|
var k = false;
|
||||||
bool k = false;
|
|
||||||
assert((k = true));
|
assert((k = true));
|
||||||
return k;
|
return k;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue