diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-12-11 13:38:56 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-12-11 14:35:18 -0800 |
| commit | b73caec3ced9e6588856f77f6a03319d3515f5ac (patch) | |
| tree | 1ef18180e517ec9fead7e8257ae2854f7ce99f07 /src/rt/rust_upcall.cpp | |
| parent | 5cd08586f6007325b50b697ce2ae175810637b0f (diff) | |
| download | rust-b73caec3ced9e6588856f77f6a03319d3515f5ac.tar.gz rust-b73caec3ced9e6588856f77f6a03319d3515f5ac.zip | |
rt: Call upcall_fail on the C stack
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index ed010b24d41..811a6b36df0 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -63,10 +63,8 @@ extern "C" CDECL void upcall_fail(char const *expr, char const *file, size_t line) { - // FIXME: Need to fix the stack switching function to unwind properly - // in order to switch stacks here s_fail_args args = {expr,file,line}; - upcall_s_fail(&args); + SWITCH_STACK(&args, upcall_s_fail); } struct s_malloc_args { |
