PeepholeFoldConstants

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total257 of 2,59690%82 of 61286%6737568689040
tryFoldGetProp(Node, Node, Node)452232%9430%68142001
tryFoldInForcedStringContext(Node)421830%7330%46152101
tryFoldUnaryOperator(Node)2815184%102167%918105101
tryFoldShift(Node, Node, Node)258076%31381%31052701
tryFoldCall(Node)24825%5116%346901
tryFoldObjectPropAccess(Node, Node, Node)208781%72074%61553101
performArithmeticOp(Token, Node, Node)1425194%37195%34125601
tryReduceVoid(Node)131350%4233%342501
tryFoldArrayAccess(Node, Node, Node)107788%21688%21032901
tryFoldAdd(Node, Node, Node)77491%11995%11111501
isNumeric(Node)71058%5337%350201
isStringTyped(Node)71058%5337%350201
evaluateComparison(Token, Node, Node)55391%11292%11111201
tryFoldTypeof(Node)36595%31381%31212701
tryFoldLeftChildOp(Node, Node, Node)8697%31583%31002001
tryUnfoldAssignOp(Node, Node, Node)4595%2675%2511301
tryFoldInstanceof(Node, Node, Node)4495%11191%1711501
tryConvertToNumber(Node)5098%2981%2811901
tryStrictEqualityComparison(Node, Node)137100%45100%02503201
tryAbstractRelationalComparison(Node, Node, boolean)123100%46100%02402401
tryFoldAssign(Node, Node, Node)111100%26100%01904301
tryFoldChildAddString(Node, Node, Node)108100%41680%41102901
tryFoldAndOr(Node, Node, Node)106100%30100%01603001
tryAbstractEqualityComparison(Node, Node)103100%42100%02202101
tryFoldBinaryOperator(Node)99100%18100%01502201
tryFoldStringArrayAccess(Node, Node, Node)85100%11593%1902601
tryFoldAddConstantString(Node, Node, Node)43100%21083%2701001
optimizeSubtree(Node)36100%6100%060901
tryReduceOperandsForOp(Node)36100%8100%0601101
maybeReplaceBinaryOpWithNumericResult(double, double, double)35100%2880%260601
tryFoldGetElem(Node, Node, Node)32100%6100%040801
tryFoldComparison(Node, Node, Node)29100%2100%020801
tryFoldArithmeticOp(Node, Node, Node)24100%2100%020701
static {...}21100%n/a010901
tryConvertOperandsToNumber(Node)15100%2100%020401
inForcedStringContext(Node)15100%4100%030401
tryFoldCtorCall(Node)12100%2100%020401
PeepholeFoldConstants(boolean, boolean)9100%n/a010401
replace(Node, Node)9100%n/a010301
jsConvertDoubleToBits(double)7100%n/a010101