/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* ---------------------------------------------------------------------- _svmf_save_calling_environment ---------------------------------------------------------------------- */ jint _svmf_save_calling_environment(_svmt_sigjmp_info *s) { if(sigsetjmp (s->buf, 1)) { return JNI_ERR; } return JNI_OK; } /* ---------------------------------------------------------------------- _svmf_initialization_unrecoverable_exception ---------------------------------------------------------------------- */ void _svmf_initialization_unrecoverable_exception (_svmt_sigjmp_info *s) { siglongjmp (s->buf, 1); }