Skip to content

Commit db2d6eb

Browse files
committed
---
yaml --- r: 10615 b: refs/heads/snap-stage3 c: 0017116 h: refs/heads/master i: 10613: 0b284fb 10611: 6d13765 10607: bd1e5b9 v: v3
1 parent 12c14d9 commit db2d6eb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 76d6120e521b6546c54722e0dabfe8e73a5d6e73
4+
refs/heads/snap-stage3: 00171165205a1d5222563d0e2bdf7f970758b388
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/libcore/stackwalk.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ fn walk_stack(visit: fn(frame) -> bool) {
2323
reinterpret_cast(frame_pointer)
2424
};
2525
loop {
26-
let frame = frame(frame_address);
26+
let fr = frame(frame_address);
2727

28-
#debug("frame: %x", unsafe { reinterpret_cast(frame.fp) });
29-
visit(frame);
28+
#debug("frame: %x", unsafe { reinterpret_cast(fr.fp) });
29+
visit(fr);
3030

3131
unsafe {
3232
let next_fp: **word = reinterpret_cast(frame_address);
@@ -44,7 +44,7 @@ fn walk_stack(visit: fn(frame) -> bool) {
4444

4545
#[test]
4646
fn test_simple() {
47-
for walk_stack { |frame|
47+
for walk_stack { |_frame|
4848
}
4949
}
5050

@@ -53,7 +53,7 @@ fn test_simple_deep() {
5353
fn run(i: int) {
5454
if i == 0 { ret }
5555

56-
for walk_stack { |frame|
56+
for walk_stack { |_frame|
5757
unsafe {
5858
breakpoint();
5959
}

0 commit comments

Comments
 (0)