17e6648fe0
When instantiating a closure, allocate a new closure object in the same boostrap native method as checking bounds. This simplifies code generation and prepares for variable-length closure objects by removing the only place where closure of unknown length was allocated in the generated code. TEST=ci Change-Id: I9ac51c862081612bca2160699ebe24526d4fc915 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/490360 Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
This package contains Dart bytecode compiler.
Status: experimental
NOTE: This package is currently experimental and not published or included in the SDK.
Do not take dependency on this package unless you are prepared for breaking changes and possibly removal of this code at any point in time.