aeb3e1d73b
Register allocator does not need to associate always-calls safepoints with live ranges of constant values because constant values are never actually spilled and are rematerialized instead. @alexmarkov has observed that SafepointPosition objects for constants account for large chunk of the total memory eaten by the register allocation pass and this change addresses this issue. With this change the total memory consumed by the register allocator decreases from 21 Gb to 8.6 Gb on one of the examples in https://github.com/flutter/flutter/issues/94461. TEST=ci Change-Id: I245f2678bc6f5c1d63fd282812d1df2b2958512f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/231442 Auto-Submit: Slava Egorov <vegorov@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Slava Egorov <vegorov@google.com>