OLD | NEW |
(Empty) | |
| 1 >>> |
| 2 _log(new LogEntry(error.transform, error.transform.primaryId, LogLevel.ERROR, |
| 3 message, null), arg); |
| 4 <<< |
| 5 _log( |
| 6 new LogEntry(error.transform, error.transform.primaryId, LogLevel.ERROR, |
| 7 message, null), |
| 8 arg); |
| 9 >>> (indent 4) |
| 10 expect(date_format |
| 11 .parsePattern("hh:mm:ss") |
| 12 .map((x) => x.pattern) |
| 13 .toList(), orderedEquals(["hh", ":", "mm", ":", "ss"])); |
| 14 <<< |
| 15 expect(date_format.parsePattern("hh:mm:ss").map((x) => x.pattern).toList(), |
| 16 orderedEquals(["hh", ":", "mm", ":", "ss"])); |
| 17 >>> (indent 4) |
| 18 classElement.forEachInstanceField( |
| 19 (ClassElement enclosingClass, VariableElement member) { |
| 20 HInstruction value = fieldValues[member]; |
| 21 if (value == null) { |
| 22 // Uninitialized native fields are pre-initialized by the native |
| 23 // implementation. |
| 24 assert(isNativeUpgradeFactory); |
| 25 } else { |
| 26 fields.add(member); |
| 27 DartType type = localsHandler.substInContext(member.type); |
| 28 constructorArguments.add(potentiallyCheckOrTrustType(value, type)); |
| 29 } |
| 30 }, includeSuperAndInjectedMembers: true); |
| 31 <<< |
| 32 classElement.forEachInstanceField( |
| 33 (ClassElement enclosingClass, VariableElement member) { |
| 34 HInstruction value = fieldValues[member]; |
| 35 if (value == null) { |
| 36 // Uninitialized native fields are pre-initialized by the native |
| 37 // implementation. |
| 38 assert(isNativeUpgradeFactory); |
| 39 } else { |
| 40 fields.add(member); |
| 41 DartType type = localsHandler.substInContext(member.type); |
| 42 constructorArguments.add(potentiallyCheckOrTrustType(value, type)); |
| 43 } |
| 44 }, includeSuperAndInjectedMembers: true); |
| 45 >>> (indent 6) |
| 46 HLoopBlockInformation info = new HLoopBlockInformation( |
| 47 HLoopBlockInformation.loopType(loop), |
| 48 wrapExpressionGraph(initializerGraph), |
| 49 wrapExpressionGraph(conditionExpression), |
| 50 wrapStatementGraph(bodyGraph), wrapExpressionGraph(updateGraph), |
| 51 conditionBlock.loopInformation.target, |
| 52 conditionBlock.loopInformation.labels, |
| 53 sourceFileLocationForBeginToken(loop), |
| 54 sourceFileLocationForEndToken(loop)); |
| 55 <<< |
| 56 HLoopBlockInformation info = new HLoopBlockInformation( |
| 57 HLoopBlockInformation.loopType(loop), |
| 58 wrapExpressionGraph(initializerGraph), |
| 59 wrapExpressionGraph(conditionExpression), |
| 60 wrapStatementGraph(bodyGraph), |
| 61 wrapExpressionGraph(updateGraph), |
| 62 conditionBlock.loopInformation.target, |
| 63 conditionBlock.loopInformation.labels, |
| 64 sourceFileLocationForBeginToken(loop), |
| 65 sourceFileLocationForEndToken(loop)); |
| 66 >>> (indent 6) |
| 67 handleSwitch(node, new NullJumpHandler(compiler), buildExpression, |
| 68 node.cases, getConstants, (_) => false, // No case is default. |
| 69 buildSwitchCase); |
| 70 <<< |
| 71 handleSwitch( |
| 72 node, |
| 73 new NullJumpHandler(compiler), |
| 74 buildExpression, |
| 75 node.cases, |
| 76 getConstants, |
| 77 (_) => false, // No case is default. |
| 78 buildSwitchCase); |
OLD | NEW |