Skip to content

Commit 55d09cf

Browse files
committed
---
yaml --- r: 173479 b: refs/heads/master c: 1649810 h: refs/heads/master i: 173477: f6f4ee3 173475: fb6ec77 173471: 432e762 v: v3
1 parent 7d0228a commit 55d09cf

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: f0d6eee499e898fc0336c72069ab7bac47125c4b
2+
refs/heads/master: 164981042d6afd38c6635ab10ef8ed3c0daffe8b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 210f0dcf007104240b2e286ed0b80cb4a61d7bae
55
refs/heads/try: 957472483d3a2f43c0e4f7c2056280a1022af93c

trunk/src/libstd/sys/common/stack.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,12 @@ pub unsafe fn record_sp_limit(limit: uint) {
231231
unsafe fn target_record_sp_limit(_: uint) {
232232
}
233233

234+
// powerpc - FIXME(POWERPC): missing...
235+
#[cfg(target_arch = "powerpc")]
236+
unsafe fn target_record_sp_limit(_: uint) {
237+
}
238+
239+
234240
// iOS segmented stack is disabled for now, see related notes
235241
#[cfg(all(target_arch = "arm", target_os = "ios"))] #[inline(always)]
236242
unsafe fn target_record_sp_limit(_: uint) {
@@ -326,6 +332,12 @@ pub unsafe fn get_sp_limit() -> uint {
326332
1024
327333
}
328334

335+
// powepc - FIXME(POWERPC): missing...
336+
#[cfg(target_arch = "powerpc")]
337+
unsafe fn target_get_sp_limit() -> uint {
338+
1024
339+
}
340+
329341
// iOS doesn't support segmented stacks yet. This function might
330342
// be called by runtime though so it is unsafe to mark it as
331343
// unreachable, let's return a fixed constant.

0 commit comments

Comments
 (0)