commit | 9b6e6012463a160b09c0b253b9f21e8f904f6b39 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Fri Jan 27 16:17:35 2023 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Mon Jan 30 15:00:54 2023 +0000 |
tree | 9bacc7da441b30fa7f41f510ce03e0adadb05d7f | |
parent | 97be28c4cc05231fe6e70dc32662c24700e731cc [diff] |
Simplify do-while loops that do not use `continue`. We can omit the continue mask entirely when we know that `continue` isn't used. This saves a slot, and two ops per loop iteration. A similar simplification was applied to for loops at http://review.skia.org/634359 . Change-Id: I6c56a189c4cfeb601d9f738678a7dba257c47b74 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/635180 Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: John Stiles <johnstiles@google.com>