core: Un-legacy-export stackwalk, cmath

This commit is contained in:
Brian Anderson
2012-09-23 16:42:05 -07:00
parent cb34138cd0
commit 32032491ed
3 changed files with 28 additions and 40 deletions

View File

@@ -8,19 +8,19 @@ use cast::reinterpret_cast;
use ptr::offset;
use sys::size_of;
type Word = uint;
pub type Word = uint;
struct Frame {
pub struct Frame {
fp: *Word
}
fn Frame(fp: *Word) -> Frame {
pub fn Frame(fp: *Word) -> Frame {
Frame {
fp: fp
}
}
fn walk_stack(visit: fn(Frame) -> bool) {
pub fn walk_stack(visit: fn(Frame) -> bool) {
debug!("beginning stack walk");