Skip to content

Commit 26d8733

Browse files
committed
---
yaml --- r: 63211 b: refs/heads/snap-stage3 c: 1175e94 h: refs/heads/master i: 63209: e3e91be 63207: 37409db v: v3
1 parent 4f3b0f3 commit 26d8733

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: da9172af60e04d40aad2f0184e81e2a74916eeba
4+
refs/heads/snap-stage3: 1175e94de3b6d0f6b35fd8de3599b29267f1adab
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/rt/rust_task.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ rust_task::cleanup_after_turn() {
587587
// stack and false otherwise.
588588
bool
589589
rust_task::new_big_stack() {
590+
assert(stk);
590591
// If we have a cached big stack segment, use it.
591592
if (big_stack) {
592593
// Check to see if we're already on the big stack.
@@ -616,8 +617,7 @@ rust_task::new_big_stack() {
616617
if (big_stack->next)
617618
big_stack->next->prev = big_stack;
618619
big_stack->prev = stk;
619-
if (stk)
620-
stk->next = big_stack;
620+
stk->next = big_stack;
621621

622622
stk = big_stack;
623623

0 commit comments

Comments
 (0)