File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -231,6 +231,12 @@ pub unsafe fn record_sp_limit(limit: uint) {
231
231
unsafe fn target_record_sp_limit ( _: uint ) {
232
232
}
233
233
234
+ // powerpc - FIXME(POWERPC): missing...
235
+ #[ cfg( target_arch = "powerpc" ) ]
236
+ unsafe fn target_record_sp_limit ( _: uint ) {
237
+ }
238
+
239
+
234
240
// iOS segmented stack is disabled for now, see related notes
235
241
#[ cfg( all( target_arch = "arm" , target_os = "ios" ) ) ] #[ inline( always) ]
236
242
unsafe fn target_record_sp_limit ( _: uint ) {
@@ -326,6 +332,12 @@ pub unsafe fn get_sp_limit() -> uint {
326
332
1024
327
333
}
328
334
335
+ // powepc - FIXME(POWERPC): missing...
336
+ #[ cfg( target_arch = "powerpc" ) ]
337
+ unsafe fn target_get_sp_limit ( ) -> uint {
338
+ 1024
339
+ }
340
+
329
341
// iOS doesn't support segmented stacks yet. This function might
330
342
// be called by runtime though so it is unsafe to mark it as
331
343
// unreachable, let's return a fixed constant.
You can’t perform that action at this time.
0 commit comments