Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "duk_internal.h"
Go to the source code of this file.
DUK_LOCAL void duk__adjust_valstack_and_top | ( | duk_hthread * | thr, |
duk_idx_t | num_stack_args, | ||
duk_idx_t | idx_args, | ||
duk_idx_t | nregs, | ||
duk_idx_t | nargs, | ||
duk_hobject * | func ) |
Definition at line 782 of file duktape-1.5.2/src-separate/duk_js_call.c.
References DUK_ASSERT, DUK_DDD, DUK_DDDPRINT, DUK_HOBJECT_IS_NATIVEFUNCTION, duk_set_top(), DUK_VALSTACK_API_ENTRY_MINIMUM, DUK_VALSTACK_INTERNAL_EXTRA, duk_valstack_resize_raw(), DUK_VSRESIZE_FLAG_SHRINK, DUK_VSRESIZE_FLAG_THROW, NULL, duk_hthread::valstack, duk_hthread::valstack_bottom, and duk_hthread::valstack_top.
Referenced by duk__handle_call_inner(), and duk_handle_ecma_call_setup().
DUK_LOCAL void duk__coerce_effective_this_binding | ( | duk_hthread * | thr, |
duk_hobject * | func, | ||
duk_idx_t | idx_this ) |
Definition at line 665 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk_hthread::builtins, DUK_ASSERT, DUK_BIDX_GLOBAL, DUK_D, DUK_DDD, DUK_DDDPRINT, DUK_DPRINT, DUK_HOBJECT_HAS_STRICT, DUK_HOBJECT_INCREF, DUK_LIKELY, DUK_TAG_LIGHTFUNC, DUK_TAG_NULL, DUK_TAG_OBJECT, DUK_TAG_UNDEFINED, duk_to_object(), DUK_TVAL_GET_TAG, DUK_TVAL_IS_HEAP_ALLOCATED, DUK_TVAL_IS_UNUSED, DUK_TVAL_SET_OBJECT, DUK_TVAL_SET_UNDEFINED, NULL, and duk_hthread::valstack_bottom.
Referenced by duk__handle_call_inner(), and duk_handle_ecma_call_setup().
DUK_LOCAL void duk__create_arguments_object | ( | duk_hthread * | thr, |
duk_hobject * | func, | ||
duk_hobject * | varenv, | ||
duk_idx_t | idx_argbase, | ||
duk_idx_t | num_stack_args ) |
Definition at line 109 of file duktape-1.5.2/src-separate/duk_js_call.c.
References arg, DUK_ASSERT, DUK_BIDX_OBJECT_PROTOTYPE, DUK_DDD, DUK_DDDPRINT, duk_dup(), duk_get_hobject(), duk_get_prop_index(), duk_get_prop_stridx(), duk_get_string(), duk_has_prop(), DUK_HOBJECT_CLASS_ARGUMENTS, DUK_HOBJECT_CLASS_AS_FLAGS, DUK_HOBJECT_CLASS_OBJECT, DUK_HOBJECT_FLAG_ARRAY_PART, DUK_HOBJECT_FLAG_EXTENSIBLE, DUK_HOBJECT_HAS_STRICT, DUK_HOBJECT_IS_NONBOUND_FUNCTION, DUK_HOBJECT_SET_EXOTIC_ARGUMENTS, duk_is_string(), duk_pop(), duk_pop_2(), DUK_PROPDESC_FLAGS_NONE, DUK_PROPDESC_FLAGS_WC, duk_push_hobject(), duk_push_int(), duk_push_object_helper(), duk_push_uint(), duk_remove(), duk_require_hobject(), duk_require_int(), duk_require_top_index(), DUK_STRIDX_CALLEE, DUK_STRIDX_CALLER, DUK_STRIDX_INT_FORMALS, DUK_STRIDX_INT_MAP, DUK_STRIDX_INT_VARENV, DUK_STRIDX_LENGTH, duk_to_string(), duk_xdef_prop_index_wec, duk_xdef_prop_stridx(), duk_xdef_prop_stridx_thrower(), duk_xdef_prop_wec, and NULL.
Referenced by duk__handle_createargs_for_call().
DUK_LOCAL duk_idx_t duk__get_idx_func | ( | duk_hthread * | thr, |
duk_idx_t | num_stack_args ) |
Definition at line 922 of file duktape-1.5.2/src-separate/duk_js_call.c.
References DUK_ERROR_API, DUK_STR_INVALID_CALL_ARGS, DUK_UNLIKELY, duk_hthread::valstack_bottom, and duk_hthread::valstack_top.
Referenced by duk_handle_call_protected(), and duk_handle_call_unprotected().
DUK_LOCAL void duk__handle_bound_chain_for_call | ( | duk_hthread * | thr, |
duk_idx_t | idx_func, | ||
duk_idx_t * | p_num_stack_args, | ||
duk_bool_t | is_constructor_call ) |
Definition at line 406 of file duktape-1.5.2/src-separate/duk_js_call.c.
References DUK_ASSERT, DUK_DDD, DUK_DDDPRINT, DUK_ERROR_INTERNAL_DEFMSG, DUK_ERROR_RANGE, duk_get_prop_index(), duk_get_prop_stridx(), duk_get_tval(), DUK_HOBJECT_BOUND_CHAIN_SANITY, DUK_HOBJECT_HAS_BOUND, DUK_HOBJECT_HAS_COMPILEDFUNCTION, DUK_HOBJECT_HAS_NATIVEFUNCTION, duk_insert(), duk_pop(), duk_replace(), duk_require_int(), duk_require_tval(), DUK_STR_BOUND_CHAIN_LIMIT, DUK_STRIDX_INT_ARGS, DUK_STRIDX_INT_TARGET, DUK_STRIDX_INT_THIS, DUK_STRIDX_LENGTH, DUK_TVAL_GET_OBJECT, DUK_TVAL_IS_LIGHTFUNC, DUK_TVAL_IS_OBJECT, and NULL.
Referenced by duk__nonbound_func_lookup().
DUK_LOCAL void duk__handle_call_error | ( | duk_hthread * | thr, |
duk_size_t | entry_valstack_bottom_index, | ||
duk_size_t | entry_valstack_end, | ||
duk_size_t | entry_catchstack_top, | ||
duk_size_t | entry_callstack_top, | ||
duk_int_t | entry_call_recursion_depth, | ||
duk_hthread * | entry_curr_thread, | ||
duk_uint_fast8_t | entry_thread_state, | ||
duk_instr_t ** | entry_ptr_curr_pc, | ||
duk_idx_t | idx_func, | ||
duk_jmpbuf * | old_jmpbuf_ptr ) |
Definition at line 1733 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk_heap::call_recursion_depth, duk_hthread::callstack_top, duk_hthread::catchstack_top, duk_heap::curr_thread, DUK_ASSERT, DUK_DD, DUK_DDD, DUK_DDDPRINT, DUK_DDPRINT, DUK_HEAP_SWITCH_THREAD, duk_hthread_callstack_shrink_check(), duk_hthread_callstack_unwind(), duk_hthread_catchstack_shrink_check(), duk_hthread_catchstack_unwind(), DUK_HTHREAD_STATE_INACTIVE, DUK_HTHREAD_STATE_RUNNING, DUK_LJ_TYPE_THROW, DUK_LJ_TYPE_UNKNOWN, duk_set_top(), DUK_TVAL_CHKFAST_INPLACE, DUK_TVAL_SET_TVAL_UPDREF, DUK_TVAL_SET_UNDEFINED_UPDREF, duk_valstack_resize_raw(), DUK_VSRESIZE_FLAG_COMPACT, DUK_VSRESIZE_FLAG_SHRINK, DUK_VSRESIZE_FLAG_THROW, duk_hthread::heap, duk_ljstate::iserror, duk_ljstate::jmpbuf_ptr, duk_heap::lj, NULL, duk_hthread::ptr_curr_pc, duk_hthread::state, duk_ljstate::type, duk_hthread::valstack, duk_hthread::valstack_bottom, duk_ljstate::value1, and duk_ljstate::value2.
Referenced by duk_handle_call_protected().
DUK_LOCAL void duk__handle_call_inner | ( | duk_hthread * | thr, |
duk_idx_t | num_stack_args, | ||
duk_small_uint_t | call_flags, | ||
duk_idx_t | idx_func ) |
Definition at line 1158 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk_heap::call_recursion_depth, duk_heap::call_recursion_limit, duk_hthread::callstack, duk_hthread::callstack_preventcount, duk_hthread::callstack_size, duk_hthread::callstack_top, duk_hthread::catchstack, duk_hthread::catchstack_top, duk_activation::curr_pc, duk_heap::curr_thread, duk__adjust_valstack_and_top(), duk__coerce_effective_this_binding(), duk__handle_createargs_for_call(), duk__handle_oldenv_for_call(), duk__nonbound_func_lookup(), DUK_ACT_FLAG_CONSTRUCT, DUK_ACT_FLAG_DIRECT_EVAL, DUK_ACT_FLAG_PREVENT_YIELD, DUK_ACT_FLAG_STRICT, DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_CALL_FLAG_CONSTRUCTOR_CALL, DUK_CALL_FLAG_DIRECT_EVAL, DUK_CALL_FLAG_IGNORE_RECLIMIT, duk_create_activation_environment_record(), DUK_DD, DUK_DDD, DUK_DDDPRINT, DUK_DDPRINT, DUK_ERR_TYPE_ERROR, DUK_ERROR_API, DUK_ERROR_FMT1, DUK_ERROR_RANGE, duk_error_throw_from_negative_rc(), DUK_ERROR_TYPE, duk_get_top(), duk_get_tval(), DUK_HCOMPILEDFUNCTION_GET_CODE_BASE, DUK_HEAP_SWITCH_THREAD, DUK_HOBJECT_HAS_BOUND, DUK_HOBJECT_HAS_COMPILEDFUNCTION, DUK_HOBJECT_HAS_CREATEARGS, DUK_HOBJECT_HAS_NEWENV, DUK_HOBJECT_HAS_STRICT, DUK_HOBJECT_INCREF, DUK_HOBJECT_INCREF_ALLOWNULL, DUK_HOBJECT_IS_COMPILEDFUNCTION, DUK_HOBJECT_IS_NATIVEFUNCTION, duk_hthread_callstack_grow(), duk_hthread_callstack_shrink_check(), duk_hthread_callstack_unwind(), duk_hthread_catchstack_shrink_check(), duk_hthread_catchstack_unwind(), DUK_HTHREAD_STATE_INACTIVE, DUK_HTHREAD_STATE_RUNNING, duk_hthread_sync_and_null_currpc(), duk_js_execute_bytecode(), DUK_LFUNC_FLAGS_GET_NARGS, DUK_LFUNC_NARGS_VARARGS, DUK_LIKELY, duk_pop(), duk_set_top(), DUK_STR_C_CALLSTACK_LIMIT, DUK_STR_NOT_CALLABLE, DUK_TVAL_CHKFAST_INPLACE, DUK_TVAL_GET_LIGHTFUNC_FLAGS, DUK_TVAL_GET_LIGHTFUNC_FUNCPTR, DUK_TVAL_IS_LIGHTFUNC, DUK_TVAL_SET_TVAL, DUK_TVAL_SET_TVAL_UPDREF, DUK_TVAL_SET_UNDEFINED_UPDREF, DUK_UNREACHABLE, DUK_UNREF, duk_valstack_resize_raw(), DUK_VSRESIZE_FLAG_COMPACT, DUK_VSRESIZE_FLAG_SHRINK, DUK_VSRESIZE_FLAG_THROW, duk_activation::flags, duk_activation::func, duk_hthread::heap, duk_activation::idx_bottom, duk_activation::idx_retval, duk_activation::lex_env, NULL, duk_hthread::ptr_curr_pc, duk_hthread::state, duk_activation::tv_func, duk_hthread::valstack, duk_hthread::valstack_bottom, duk_hthread::valstack_end, duk_hthread::valstack_size, duk_hthread::valstack_top, and duk_activation::var_env.
Referenced by duk_handle_call_protected(), and duk_handle_call_unprotected().
DUK_LOCAL void duk__handle_createargs_for_call | ( | duk_hthread * | thr, |
duk_hobject * | func, | ||
duk_hobject * | env, | ||
duk_idx_t | num_stack_args ) |
Definition at line 360 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk__create_arguments_object(), DUK_ASSERT, DUK_DDD, DUK_DDDPRINT, duk_get_top(), DUK_HOBJECT_HAS_CREATEARGS, DUK_HOBJECT_HAS_STRICT, DUK_PROPDESC_FLAGS_E, DUK_PROPDESC_FLAGS_WE, DUK_STRIDX_LC_ARGUMENTS, duk_xdef_prop_stridx(), and NULL.
Referenced by duk__handle_call_inner(), and duk_handle_ecma_call_setup().
DUK_LOCAL void duk__handle_oldenv_for_call | ( | duk_hthread * | thr, |
duk_hobject * | func, | ||
duk_activation * | act ) |
Definition at line 523 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk_hthread::builtins, DUK_ASSERT, DUK_BIDX_GLOBAL_ENV, duk_hobject_find_existing_entry_tval_ptr(), DUK_HOBJECT_HAS_CREATEARGS, DUK_HOBJECT_HAS_NEWENV, DUK_HOBJECT_INCREF_ALLOWNULL, DUK_HOBJECT_IS_ENV, DUK_HTHREAD_STRING_INT_LEXENV, DUK_HTHREAD_STRING_INT_VARENV, DUK_TVAL_GET_OBJECT, DUK_TVAL_IS_OBJECT, duk_hthread::heap, duk_activation::lex_env, NULL, and duk_activation::var_env.
Referenced by duk__handle_call_inner(), and duk_handle_ecma_call_setup().
DUK_LOCAL void duk__handle_safe_call_error | ( | duk_hthread * | thr, |
duk_idx_t | idx_retbase, | ||
duk_idx_t | num_stack_rets, | ||
duk_size_t | entry_valstack_bottom_index, | ||
duk_size_t | entry_callstack_top, | ||
duk_size_t | entry_catchstack_top, | ||
duk_jmpbuf * | old_jmpbuf_ptr ) |
Definition at line 2147 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk_hthread::callstack_top, duk_hthread::catchstack_top, duk__safe_call_adjust_valstack(), DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_DDD, DUK_DDDPRINT, duk_get_top(), duk_hthread_callstack_shrink_check(), duk_hthread_callstack_unwind(), duk_hthread_catchstack_shrink_check(), duk_hthread_catchstack_unwind(), DUK_LJ_TYPE_THROW, DUK_LJ_TYPE_UNKNOWN, duk_push_tval(), duk_require_stack(), duk_require_stack_top(), DUK_TVAL_SET_UNDEFINED_UPDREF, duk_hthread::heap, duk_ljstate::iserror, duk_ljstate::jmpbuf_ptr, duk_heap::lj, NULL, duk_ljstate::type, duk_hthread::valstack, duk_hthread::valstack_bottom, duk_ljstate::value1, and duk_ljstate::value2.
Referenced by duk_handle_safe_call().
DUK_LOCAL void duk__handle_safe_call_inner | ( | duk_hthread * | thr, |
duk_safe_call_function | func, | ||
duk_idx_t | idx_retbase, | ||
duk_idx_t | num_stack_rets, | ||
duk_size_t | entry_valstack_bottom_index, | ||
duk_size_t | entry_callstack_top, | ||
duk_size_t | entry_catchstack_top ) |
Definition at line 2038 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk_heap::call_recursion_depth, duk_heap::call_recursion_limit, duk_hthread::callstack_top, duk_hthread::catchstack_top, duk_heap::curr_thread, duk__safe_call_adjust_valstack(), DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_DDD, DUK_DDDPRINT, DUK_ERR_TYPE_ERROR, DUK_ERROR_API, DUK_ERROR_FMT1, DUK_ERROR_RANGE, duk_error_throw_from_negative_rc(), duk_get_top(), DUK_HEAP_SWITCH_THREAD, DUK_HTHREAD_STATE_INACTIVE, DUK_HTHREAD_STATE_RUNNING, duk_require_stack(), DUK_STR_C_CALLSTACK_LIMIT, DUK_UNREACHABLE, DUK_UNREF, duk_hthread::heap, NULL, duk_hthread::state, duk_hthread::valstack, duk_hthread::valstack_bottom, duk_hthread::valstack_end, and duk_hthread::valstack_top.
Referenced by duk_handle_safe_call().
DUK_LOCAL void duk__handle_safe_call_shared | ( | duk_hthread * | thr, |
duk_idx_t | idx_retbase, | ||
duk_idx_t | num_stack_rets, | ||
duk_int_t | entry_call_recursion_depth, | ||
duk_hthread * | entry_curr_thread, | ||
duk_uint_fast8_t | entry_thread_state, | ||
duk_instr_t ** | entry_ptr_curr_pc ) |
Definition at line 2218 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk_heap::call_recursion_depth, duk_heap::curr_thread, DUK_ASSERT, DUK_ASSERT_CTX_VALID, duk_get_top(), DUK_HEAP_SWITCH_THREAD, DUK_HTHREAD_STATE_INACTIVE, DUK_HTHREAD_STATE_RUNNING, DUK_UNREF, duk_hthread::heap, NULL, duk_hthread::ptr_curr_pc, and duk_hthread::state.
Referenced by duk_handle_safe_call().
DUK_LOCAL duk_hobject * duk__nonbound_func_lookup | ( | duk_context * | ctx, |
duk_idx_t | idx_func, | ||
duk_idx_t * | out_num_stack_args, | ||
duk_tval ** | out_tv_func, | ||
duk_small_uint_t | call_flags ) |
Definition at line 717 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk__handle_bound_chain_for_call(), DUK_ASSERT, DUK_CALL_FLAG_CONSTRUCTOR_CALL, DUK_ERR_TYPE_ERROR, DUK_ERROR_FMT1, DUK_ERROR_TYPE, DUK_GET_TVAL_POSIDX, DUK_HOBJECT_HAS_BOUND, DUK_HOBJECT_IS_CALLABLE, DUK_HOBJECT_IS_COMPILEDFUNCTION, DUK_HOBJECT_IS_NATIVEFUNCTION, duk_push_string_tval_readable(), duk_require_tval(), DUK_STR_NOT_CALLABLE, DUK_TVAL_GET_OBJECT, DUK_TVAL_IS_LIGHTFUNC, DUK_TVAL_IS_OBJECT, DUK_UNREACHABLE, and NULL.
Referenced by duk__handle_call_inner(), and duk_handle_ecma_call_setup().
DUK_LOCAL void duk__safe_call_adjust_valstack | ( | duk_hthread * | thr, |
duk_idx_t | idx_retbase, | ||
duk_idx_t | num_stack_rets, | ||
duk_idx_t | num_actual_rets ) |
Definition at line 851 of file duktape-1.5.2/src-separate/duk_js_call.c.
References DUK_ASSERT, DUK_DDD, DUK_DDDPRINT, duk_get_top(), duk_insert(), duk_push_undefined(), duk_remove(), duk_require_stack_top(), duk_set_top(), and NULL.
Referenced by duk__handle_safe_call_error(), and duk__handle_safe_call_inner().
DUK_INTERNAL duk_int_t duk_handle_call_protected | ( | duk_hthread * | thr, |
duk_idx_t | num_stack_args, | ||
duk_small_uint_t | call_flags ) |
Definition at line 966 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk_heap::call_recursion_depth, duk_heap::call_recursion_limit, duk_hthread::callstack, duk_hthread::callstack_top, duk_hthread::catchstack, duk_hthread::catchstack_top, duk_heap::curr_thread, duk__get_idx_func(), duk__handle_call_error(), duk__handle_call_inner(), DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_CALL_FLAG_CONSTRUCTOR_CALL, DUK_CALL_FLAG_IGNORE_RECLIMIT, DUK_D, DUK_DD, DUK_DDPRINT, DUK_DPRINT, DUK_ERR_API_ERROR, DUK_ERROR_API, DUK_ERROR_FMT1, DUK_EXEC_ERROR, DUK_EXEC_SUCCESS, duk_get_top(), DUK_LJ_TYPE_UNKNOWN, DUK_SETJMP, DUK_TVAL_IS_UNDEFINED, DUK_UNREF, duk_hthread::heap, duk_ljstate::iserror, duk_jmpbuf::jb, duk_ljstate::jmpbuf_ptr, duk_heap::lj, NULL, duk_hthread::ptr_curr_pc, duk_hthread::state, duk_ljstate::type, duk_hthread::valstack, duk_hthread::valstack_bottom, duk_hthread::valstack_end, duk_hthread::valstack_size, duk_ljstate::value1, and duk_ljstate::value2.
DUK_INTERNAL void duk_handle_call_unprotected | ( | duk_hthread * | thr, |
duk_idx_t | num_stack_args, | ||
duk_small_uint_t | call_flags ) |
Definition at line 1147 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk__get_idx_func(), and duk__handle_call_inner().
DUK_INTERNAL duk_bool_t duk_handle_ecma_call_setup | ( | duk_hthread * | thr, |
duk_idx_t | num_stack_args, | ||
duk_small_uint_t | call_flags ) |
Definition at line 2290 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk_hthread::callstack, duk_catcher::callstack_index, duk_hthread::callstack_size, duk_hthread::callstack_top, duk_hthread::catchstack, duk_hthread::catchstack_top, duk_activation::curr_pc, duk_heap::curr_thread, duk__adjust_valstack_and_top(), duk__coerce_effective_this_binding(), duk__handle_createargs_for_call(), duk__handle_oldenv_for_call(), duk__nonbound_func_lookup(), DUK_ACT_FLAG_PREVENT_YIELD, DUK_ACT_FLAG_STRICT, DUK_ACT_FLAG_TAILCALLED, DUK_ACT_GET_FUNC, DUK_ASSERT, DUK_ASSERT_DISABLE, DUK_CALL_FLAG_IS_RESUME, DUK_CALL_FLAG_IS_TAILCALL, DUK_CAT_GET_TYPE, DUK_CAT_TYPE_LABEL, duk_create_activation_environment_record(), DUK_D, DUK_DD, DUK_DDD, DUK_DDDPRINT, DUK_DDPRINT, DUK_DPRINT, DUK_ERROR_API, duk_get_tval(), DUK_HCOMPILEDFUNCTION_GET_CODE_BASE, DUK_HOBJECT_HAS_BOUND, DUK_HOBJECT_HAS_COMPILEDFUNCTION, DUK_HOBJECT_HAS_CREATEARGS, DUK_HOBJECT_HAS_NATIVEFUNCTION, DUK_HOBJECT_HAS_NEWENV, DUK_HOBJECT_HAS_NOTAIL, DUK_HOBJECT_HAS_STRICT, DUK_HOBJECT_INCREF, DUK_HOBJECT_IS_COMPILEDFUNCTION, duk_hthread_callstack_grow(), duk_hthread_callstack_unwind(), duk_hthread_catchstack_unwind(), DUK_HTHREAD_STATE_RUNNING, duk_hthread_sync_and_null_currpc(), DUK_INT_MAX, duk_normalize_index(), duk_pop(), duk_remove(), DUK_STR_INVALID_CALL_ARGS, DUK_TVAL_SET_OBJECT, DUK_TVAL_SET_TVAL_UPDREF, DUK_UNLIKELY, DUK_UNREF, duk_activation::flags, duk_activation::func, duk_hthread::heap, duk_activation::idx_bottom, duk_activation::idx_retval, duk_activation::lex_env, NULL, duk_hthread::ptr_curr_pc, duk_hthread::state, duk_activation::tv_func, duk_hthread::valstack, duk_hthread::valstack_bottom, duk_hthread::valstack_end, duk_hthread::valstack_top, and duk_activation::var_env.
DUK_INTERNAL duk_int_t duk_handle_safe_call | ( | duk_hthread * | thr, |
duk_safe_call_function | func, | ||
duk_idx_t | num_stack_args, | ||
duk_idx_t | num_stack_rets ) |
Definition at line 1872 of file duktape-1.5.2/src-separate/duk_js_call.c.
References duk_heap::call_recursion_depth, duk_heap::call_recursion_limit, duk_hthread::callstack_top, duk_hthread::catchstack_top, duk_heap::curr_thread, duk__handle_safe_call_error(), duk__handle_safe_call_inner(), duk__handle_safe_call_shared(), DUK_ASSERT, DUK_D, DUK_DD, DUK_DDD, DUK_DDDPRINT, DUK_DDPRINT, DUK_DPRINT, DUK_ERR_API_ERROR, DUK_ERROR_API, DUK_ERROR_FMT1, DUK_EXEC_ERROR, DUK_EXEC_SUCCESS, duk_get_top(), DUK_LJ_TYPE_UNKNOWN, DUK_SETJMP, DUK_STR_INVALID_CALL_ARGS, DUK_TVAL_IS_UNDEFINED, DUK_UNREF, duk_hthread::heap, duk_ljstate::iserror, duk_jmpbuf::jb, duk_ljstate::jmpbuf_ptr, duk_heap::lj, NULL, duk_hthread::ptr_curr_pc, duk_hthread::state, duk_ljstate::type, duk_hthread::valstack, duk_hthread::valstack_bottom, duk_ljstate::value1, and duk_ljstate::value2.