1930c07cd7
The CL add a 'flags' to MethodInvocation with the properties isInvariant and isBoundsSafe. The former is used for to marks safe calls in unified collection encoding. Both can be used further by backends. The CL also adds a 'fileEndOffset' to Block. This is current set for block declared in used code. In response to https://github.com/dart-lang/sdk/issues/43994 and https://github.com/dart-lang/sdk/issues/43965 Change-Id: I579fc2928331465dfc2c152ccfd21297b12cfdd3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170695 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
14 lines
559 B
Plaintext
14 lines
559 B
Plaintext
Errors: {
|
|
}
|
|
method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr() → dynamic
|
|
return block {
|
|
final dart.core::List<dart.core::String*>* #t1 = <dart.core::String*>[];
|
|
{
|
|
dart.core::Iterator<dart.core::String*>* :sync-for-iterator = main::listOfStrings.{dart.core::Iterable::iterator};
|
|
for (; :sync-for-iterator.{dart.core::Iterator::moveNext}(); ) {
|
|
final dart.core::String* #t2 = :sync-for-iterator.{dart.core::Iterator::current};
|
|
#t1.{dart.core::List::add}{Invariant}(#t2);
|
|
}
|
|
}
|
|
} =>#t1;
|