e7d3a6027c
Creates HasParent() as a predicate for Function objects with a non-null parent function and makes IsLocalFunction() specific to local closures (i.e. explicit closures with non-null parent functions). Creates HasSavedArgumentsDescriptor() as a predicate to determine when saved_args_desc() can be used, to avoid the caller having to do explicit predicate checks for each dispatcher type that contains one. Also simplifies Function::PrintName, creates different suffixes for a SyncGenClosureMaker and its associateed SyncGenClosure, adds suffixes for skipping more than one generated body when printing the parent name, and changes ArgumentsDescriptor::PrintTo to match the compact syntax Function::PrintName used for signifying the arguments descriptor for certain dispatchers. TEST=pkg/vm_snapshot_analysis/test/instruction_sizes_test Cq-Include-Trybots: luci.dart.try:app-kernel-linux-release-x64-try,vm-kernel-precomp-linux-release-x64-try,pkg-linux-release-try Change-Id: I0ac1226d1ffe1d81743b5c6788da170d5a4010c5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/191560 Commit-Queue: Tess Strickland <sstrickl@google.com> Reviewed-by: Daco Harkes <dacoharkes@google.com>