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>