DescriptionInstruction selection before removing HTypeKnown
Example for HIdentity - this is quite rare because we don't strengthen types on 'if (x == null)'
...
t1.appendChild(element);
t2 = J.get$form$x(element);
return t2 == null ? t1 == null : t2 === t1;
--->
...
t1.appendChild(element); // t1 can't be null after here
return J.get$form$x(element) === t1;
Example of HIsViaInterceptor (0.50% smaller swarm)
t1 = J.getInterceptor(x);
if (typeof x === "object" && x !== null && (x.constructor === Array || !!t1.$isList))
return this.visitList$1(x);
if (typeof x === "object" && x !== null && !!t1.$isMap)
return this.visitMap$1(x);
if (typeof x === "object" && x !== null && !!t1.$isSendPort)
return this.visitSendPort$1(x);
--->
t1 = J.getInterceptor(x);
if (!!t1.$isList)
return this.visitList$1(x);
if (!!t1.$isMap)
return this.visitMap$1(x);
if (!!t1.$isSendPort)
return this.visitSendPort$1(x);
R=floitsch@google.com
Committed: https://code.google.com/p/dart/source/detail?r=33510
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 3 (0 generated)
|