6de2f92033
Previously, bytecode generator was allocating a bunch of objects eagerly when starting bytecode generation for a member. Most of these objects are maps and lists which are needed only under certain circumstances. With this change these objects are allocated more lazily, only when needed. Also, this CL fixes crash in LinkReader.setOffset when reading/dumping bytecode. Change-Id: I11c561e4f00c456e92f42530d3d4e6008b5f5daf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/122407 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>