54dc63a5ec
This is the follow-up to https://github.com/dart-lang/sdk/commit/dbe868de02d3b8e156c963d39f26fd95b6683e9b Similarly to StreamingFlowGraphBuilder::BuildPartialTearoffInstantiation, bytecode generator adds _boundsCheckForPartialInstantiation calls to partial instantiations of tear-offs. Fixes language_2/partial_instantiation_eager_bounds_check_test in bytecode mode. Change-Id: I2daf1902aa3df99133b2a25f1413e1bac53b6c30 Reviewed-on: https://dart-review.googlesource.com/72549 Reviewed-by: Régis Crelier <regis@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>