File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
branches/try/src/test/run-pass Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: e415c25bcd81dc1f9a5a3d25d9b48ed2d545336b
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: c7fac4471201977fdb1c0c0a26c87287e12dc644
5
- refs/heads/try: 3961957bd61b7f9ab350c0a6621a1ad18716c332
5
+ refs/heads/try: 1b6997d0692e743066dfc40e7ab4b65f8ed2e7fd
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ use std::os;
17
17
use std:: str;
18
18
19
19
// 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) ]
20
23
pub fn black_box < T > ( dummy : T ) { unsafe { asm ! ( "" : : "r" ( & dummy) ) } }
21
24
22
25
fn silent_recurse ( ) {
You can’t perform that action at this time.
0 commit comments