We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12c7cca commit 2bb7691Copy full SHA for 2bb7691
src/interp/interp.cc
@@ -1170,7 +1170,8 @@ void Thread::SetRef(Index index) {
1170
assert(index > 0 && index <= values_.size());
1171
Index slot = values_.size() - index;
1172
// keep refs_ ordered!
1173
- auto it = std::find_if(refs_.rbegin(), refs_.rend(), [slot](u32 x) { return x <= slot; });
+ auto it = std::find_if(refs_.rbegin(), refs_.rend(),
1174
+ [slot](u32 x) { return x <= slot; });
1175
if (it == refs_.rend() || *it != slot) {
1176
refs_.insert(it.base(), slot);
1177
}
0 commit comments