Skip to content

Commit 83f3dc9

Browse files
committed
---
yaml --- r: 1321 b: refs/heads/master c: f9b37c7 h: refs/heads/master i: 1319: 5782a07 v: v3
1 parent 5da9a9f commit 83f3dc9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 7ab8a5904d60ea259f1a4b98fda7745177e98826
2+
refs/heads/master: f9b37c73480345c5cb4076cbaf67dc36df689919

trunk/src/comp/middle/trans.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3145,7 +3145,10 @@ fn trans_block_cleanups(@block_ctxt cx,
31453145
check (_vec.len[cleanup](cleanup_cx.cleanups) == 0u);
31463146
}
31473147

3148-
for (cleanup c in cleanup_cx.cleanups) {
3148+
auto i = _vec.len[cleanup](cleanup_cx.cleanups);
3149+
while (i > 0u) {
3150+
i -= 1u;
3151+
auto c = cleanup_cx.cleanups.(i);
31493152
alt (c) {
31503153
case (clean(?cfn)) {
31513154
bcx = cfn(bcx).bcx;

0 commit comments

Comments
 (0)