[pkg/vm_snapshot_analysis] Update expectations in test.

Fixes https://github.com/dart-lang/sdk/issues/45986

TEST=pkg/vm_snapshot_analysis/test/instruction_sizes_test
Cq-Include-Trybots: luci.dart.try:pkg-mac-release-try
Change-Id: I0ab4ffb04349208007f01ff989a26efd297ec64b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/199427
Auto-Submit: Tess Strickland <sstrickl@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
This commit is contained in:
Tess Strickland
2021-05-12 14:31:50 +00:00
committed by commit-bot@chromium.org
parent b0ac3711f2
commit aa952090fe
@@ -821,9 +821,14 @@ void main() async {
'#type': 'class',
'makeSomeClosures': {
'#type': 'function',
// Type of returned list is more precise, as closures
// that returned non-K objects were removed, causing the
// type K* to be attributed to makeSomeClosures instead
// of just those inner closures that returned that type.
'#size': greaterThan(0),
'<anonymous closure>': {
'#type': 'function',
'#size': lessThan(0),
'#size': lessThan(0), // Some inner closures removed.
},
},
},