rt: Call upcall_fail on the C stack

This commit is contained in:
Brian Anderson 2011-12-11 13:38:56 -08:00
parent 5cd08586f6
commit b73caec3ce

View file

@ -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 {