зеркало из https://github.com/github/ruby.git
`rb_execution_context_t *` should not be `th`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a798e49f57
Коммит
8dbaf1bbdd
|
@ -285,7 +285,7 @@ enum {
|
|||
#define rb_ec_raised_p(ec, f) (((ec)->raised_flag & (f)) != 0)
|
||||
#define rb_ec_raised_clear(ec) ((ec)->raised_flag = 0)
|
||||
int rb_ec_set_raised(rb_execution_context_t *ec);
|
||||
int rb_ec_reset_raised(rb_execution_context_t *th);
|
||||
int rb_ec_reset_raised(rb_execution_context_t *ec);
|
||||
int rb_ec_stack_check(rb_execution_context_t *ec);
|
||||
|
||||
VALUE rb_f_eval(int argc, const VALUE *argv, VALUE self);
|
||||
|
|
|
@ -1503,7 +1503,7 @@ void rb_ec_setup_exception(const rb_execution_context_t *ec, VALUE mesg, VALUE c
|
|||
VALUE rb_vm_invoke_proc(rb_execution_context_t *ec, rb_proc_t *proc, int argc, const VALUE *argv, VALUE block_handler);
|
||||
VALUE rb_vm_make_proc_lambda(const rb_execution_context_t *ec, const struct rb_captured_block *captured, VALUE klass, int8_t is_lambda);
|
||||
VALUE rb_vm_make_proc(const rb_execution_context_t *ec, const struct rb_captured_block *captured, VALUE klass);
|
||||
VALUE rb_vm_make_binding(const rb_execution_context_t *th, const rb_control_frame_t *src_cfp);
|
||||
VALUE rb_vm_make_binding(const rb_execution_context_t *ec, const rb_control_frame_t *src_cfp);
|
||||
VALUE rb_vm_env_local_variables(const rb_env_t *env);
|
||||
const rb_env_t *rb_vm_env_prev_env(const rb_env_t *env);
|
||||
const VALUE *rb_binding_add_dynavars(VALUE bindval, rb_binding_t *bind, int dyncount, const ID *dynvars);
|
||||
|
@ -1542,7 +1542,7 @@ rb_vm_living_threads_remove(rb_vm_t *vm, rb_thread_t *th)
|
|||
|
||||
typedef int rb_backtrace_iter_func(void *, VALUE, int, VALUE);
|
||||
rb_control_frame_t *rb_vm_get_ruby_level_next_cfp(const rb_execution_context_t *ec, const rb_control_frame_t *cfp);
|
||||
rb_control_frame_t *rb_vm_get_binding_creatable_next_cfp(const rb_execution_context_t *th, const rb_control_frame_t *cfp);
|
||||
rb_control_frame_t *rb_vm_get_binding_creatable_next_cfp(const rb_execution_context_t *ec, const rb_control_frame_t *cfp);
|
||||
int rb_vm_get_sourceline(const rb_control_frame_t *);
|
||||
VALUE rb_name_err_mesg_new(VALUE mesg, VALUE recv, VALUE method);
|
||||
void rb_vm_stack_to_heap(rb_execution_context_t *ec);
|
||||
|
|
|
@ -2771,7 +2771,7 @@ FUNC_FASTCALL(rb_vm_opt_struct_aref)(rb_execution_context_t *ec, rb_control_fram
|
|||
}
|
||||
|
||||
rb_control_frame_t *
|
||||
FUNC_FASTCALL(rb_vm_opt_struct_aset)(rb_execution_context_t *th, rb_control_frame_t *reg_cfp)
|
||||
FUNC_FASTCALL(rb_vm_opt_struct_aset)(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp)
|
||||
{
|
||||
rb_struct_aset(GET_SELF(), TOPN(0), TOPN(1));
|
||||
return reg_cfp;
|
||||
|
|
Загрузка…
Ссылка в новой задаче