[BOLT] Fix blocks layout reverse iterators
authorVladislav Khmelevsky <och95@yandex.ru>
Thu, 8 Dec 2022 10:06:39 +0000 (14:06 +0400)
committerVladislav Khmelevsky <och95@yandex.ru>
Fri, 9 Dec 2022 09:32:34 +0000 (13:32 +0400)
commit9556b678408bdbd53083938346dbb7b0467176ac
treebdd1bcab43bb1c723dbb9921959292d3fe168739
parentc9a6713b4788f10b81202b70993068e475b392f7
[BOLT] Fix blocks layout reverse iterators

Use container's reverse iterators, fix iterators types.

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D139335
bolt/include/bolt/Core/FunctionLayout.h