Modify the function call logic to use "setjmp" with native back ends. - libjit.git - libjit

index : libjit.git
libjit
summary refs log tree commit diff
path: root/jit/jit-internal.h
diff options
context:
space:
mode:
authorRhys Weatherley <rweather@southern-storm.com.au>2004年05月22日 02:08:07 +0000
committerRhys Weatherley <rweather@southern-storm.com.au>2004年05月22日 02:08:07 +0000
commita37f62c265163c3d6682434c39f3df47c53cb6fb (patch)
tree88f05dbe09e77b38043ffafadd6aecc5e15e75c8 /jit/jit-internal.h
parenta0eb7f57228a666a367b52d0a50c320910597b5c (diff)
downloadlibjit-a37f62c265163c3d6682434c39f3df47c53cb6fb.tar.gz
Modify the function call logic to use "setjmp" with native back ends.
Diffstat (limited to 'jit/jit-internal.h')
-rw-r--r--jit/jit-internal.h 7
1 files changed, 3 insertions, 4 deletions
diff --git a/jit/jit-internal.h b/jit/jit-internal.h
index 1dec549..1993d83 100644
--- a/jit/jit-internal.h
+++ b/jit/jit-internal.h
@@ -298,6 +298,8 @@ struct _jit_builder
/* Exception handlers for the function */
jit_block_eh_t exception_handlers;
jit_block_eh_t current_handler;
+ jit_value_t setjmp_value;
+ jit_label_t longjmp_label;
/* Flag that is set to indicate that this function is not a leaf */
int non_leaf : 1;
@@ -458,8 +460,6 @@ struct jit_backtrace
{
jit_backtrace_t parent;
void *pc;
- void *catch_pc;
- void *sp;
void *security_object;
jit_meta_free_func free_security_object;
};
@@ -467,8 +467,7 @@ struct jit_backtrace
/*
* Push a new backtrace onto the stack. The fields in "trace" are filled in.
*/
-void _jit_backtrace_push
- (jit_backtrace_t trace, void *pc, void *catch_pc, void *sp);
+void _jit_backtrace_push(jit_backtrace_t trace, void *pc);
/*
* Pop the top-most backtrace item.
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月29日 04:40:53 +0000

AltStyle によって変換されたページ (->オリジナル) /