summaryrefslogtreecommitdiff
path: root/compiler/optimizing/scheduler.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2025-03-18 13:19:07 +0000
committer Mythri Alle <mythria@google.com> 2025-03-18 10:17:28 -0700
commit75cfb5844d61540495fa9a701b4e1db20e7515a0 (patch)
treef3cc7708abe69cb8baa0527114e0d5dd92fdf8f8 /compiler/optimizing/scheduler.cc
parent14c9edceee51cf1f4fb0b79b3f726e331051e673 (diff)
Fix iterating over long running method buffers when flushing
When iterating over the long running buffers, we used to use unsigned indices and the way the loop was written it was expecting signed values. The loop exit check expected -1 but for unsigned this doesn't work. Fixed the check to not expect -1 and also used signed index. Drive-by-fix: Use correct type for unique_ptr. Bug: 352518093 Test: Manual test Change-Id: I8461919d7c20e3d76fa9e10783f8dd1f7ef950e0
Diffstat (limited to 'compiler/optimizing/scheduler.cc')
0 files changed, 0 insertions, 0 deletions