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 5da9a9f commit 83f3dc9Copy full SHA for 83f3dc9
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 7ab8a5904d60ea259f1a4b98fda7745177e98826
+refs/heads/master: f9b37c73480345c5cb4076cbaf67dc36df689919
trunk/src/comp/middle/trans.rs
@@ -3145,7 +3145,10 @@ fn trans_block_cleanups(@block_ctxt cx,
3145
check (_vec.len[cleanup](cleanup_cx.cleanups) == 0u);
3146
}
3147
3148
- for (cleanup c in cleanup_cx.cleanups) {
+ auto i = _vec.len[cleanup](cleanup_cx.cleanups);
3149
+ while (i > 0u) {
3150
+ i -= 1u;
3151
+ auto c = cleanup_cx.cleanups.(i);
3152
alt (c) {
3153
case (clean(?cfn)) {
3154
bcx = cfn(bcx).bcx;
0 commit comments