f13285482d
The lifetime of program compilers in JavaScriptBundler is too short, moving the program compiler cache to FrontendCompiler instead so the ProgramCompilers created during main compilation could be reused for expression evaluation until the next compilation. Closes: https://github.com/dart-lang/sdk/issues/45266 Change-Id: I7d41476c7064f16cab2783f88c49114a08a0c038 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/190301 Commit-Queue: Anna Gringauze <annagrin@google.com> Reviewed-by: Jonah Williams <jonahwilliams@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com> Reviewed-by: Mark Zhou <markzipan@google.com>