Skip to content

Commit ea3880f

Browse files
committed
---
yaml --- r: 110463 b: refs/heads/try c: 1b6997d h: refs/heads/master i: 110461: 642fc04 110459: e9e6aca 110455: 75e1456 110447: d079db9 110431: 2c2799d 110399: 984e830 110335: 34abb45 v: v3
1 parent a02aafd commit ea3880f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: e415c25bcd81dc1f9a5a3d25d9b48ed2d545336b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c7fac4471201977fdb1c0c0a26c87287e12dc644
5-
refs/heads/try: 3961957bd61b7f9ab350c0a6621a1ad18716c332
5+
refs/heads/try: 1b6997d0692e743066dfc40e7ab4b65f8ed2e7fd
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/test/run-pass/out-of-stack.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ use std::os;
1717
use std::str;
1818

1919
// lifted from the test module
20+
// Inlining to avoid llvm turning the recursive functions into tail calls,
21+
// which doesn't consume stack.
22+
#[inline(always)]
2023
pub fn black_box<T>(dummy: T) { unsafe { asm!("" : : "r"(&dummy)) } }
2124

2225
fn silent_recurse() {

0 commit comments

Comments
 (0)