diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-21 14:12:12 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-21 19:10:31 -0700 |
| commit | 1cb35c9b2653d437e1981f4162a436e5e2766074 (patch) | |
| tree | 657572c9485384d72357d815e0b7c917b579e194 /src/rt/rust_upcall.cpp | |
| parent | ba322b0a700d274089f740b699d763210ac4578d (diff) | |
| download | rust-1cb35c9b2653d437e1981f4162a436e5e2766074.tar.gz rust-1cb35c9b2653d437e1981f4162a436e5e2766074.zip | |
rt: Rename record_sp to record_sp_limit
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index cd8b4993cbe..58798147e9b 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -50,7 +50,7 @@ call_upcall_on_c_stack(void *args, void *fn_ptr) { task->call_on_c_stack(args, fn_ptr); } -extern "C" void record_sp(void *limit); +extern "C" void record_sp_limit(void *limit); /********************************************************************** * Switches to the C-stack and invokes |fn_ptr|, passing |args| as argument. @@ -66,7 +66,7 @@ upcall_call_shim_on_c_stack(void *args, void *fn_ptr) { // FIXME (1226) - The shim functions generated by rustc contain the // morestack prologue, so we need to let them know they have enough // stack. - record_sp(0); + record_sp_limit(0); try { task->call_on_c_stack(args, fn_ptr); @@ -102,7 +102,7 @@ upcall_call_shim_on_rust_stack(void *args, void *fn_ptr) { } // FIXME: As above - record_sp(0); + record_sp_limit(0); } /**********************************************************************/ |
