Skip to content

Commit

Permalink
#111: loop in loop
Browse files Browse the repository at this point in the history
  • Loading branch information
levBagryansky committed Jun 14, 2024
1 parent e6f7d60 commit 5d0173d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ChaiVM/interpreter/garbage-collector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ void GarbageCollector::collectRoots() {
// todo: balls explosion alert!
roots_.push_back(Object(frame->operator[](i)));
}
frame = frame->back();
}
frame = frame->back();
}
if (exec_.isAccRef()) {
roots_.push_back(Object(exec_.acc()));
Expand Down

0 comments on commit 5d0173d

Please sign in to comment.