mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
catch up recent changes for call threaded code VM.
Fix compile errors for OPT_CALL_THREADED_CODE (in vm_opts.h). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
baa849443f
commit
7e9aca4071
3 changed files with 5 additions and 4 deletions
|
@ -60,7 +60,7 @@ error !
|
|||
|
||||
#define INSN_ENTRY(insn) \
|
||||
static rb_control_frame_t * \
|
||||
FUNC_FASTCALL(LABEL(insn))(rb_thread_t *th, rb_control_frame_t *reg_cfp) {
|
||||
FUNC_FASTCALL(LABEL(insn))(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp) {
|
||||
|
||||
#define END_INSN(insn) return reg_cfp;}
|
||||
|
||||
|
@ -161,7 +161,7 @@ default: \
|
|||
|
||||
#if OPT_CALL_THREADED_CODE
|
||||
#define THROW_EXCEPTION(exc) do { \
|
||||
th->ec->errinfo = (VALUE)(exc); \
|
||||
ec->errinfo = (VALUE)(exc); \
|
||||
return 0; \
|
||||
} while (0)
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue