path: root/mjit_compile.c
diff options
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-09 17:11:07 (GMT)
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-09 17:11:07 (GMT)
commit179bc1b814a6152a8c4d0f20664741caffa156e5 (patch)
treebd4c6b74b8ca68d4b384f4ee9864abd4cb98a0e8 /mjit_compile.c
parent29ac19a05b00077dc6344d187c795c3845403cd6 (diff)
_mjit_compile_send.erb: revert r63350
Revert "_mjit_compile_send.erb: inline recursive call" I reverted r63360 in r63379, but the errors were reproductive from r63350. So I need to revert this. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit_compile.c')
1 files changed, 0 insertions, 2 deletions
diff --git a/mjit_compile.c b/mjit_compile.c
index e01f6b3..4f87550 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -27,7 +27,6 @@ struct compile_status {
/* If TRUE, JIT-ed code will use local variables to store pushed values instead of
using VM's stack and moving stack pointer. */
int local_stack_p;
- const char *funcname; /* the method name which is being compiled */
/* Storage to keep data which is consistent in each conditional branch.
@@ -194,7 +193,6 @@ mjit_compile(FILE *f, const struct rb_iseq_constant_body *body, const char *func
status.success = TRUE;
status.local_stack_p = !body->catch_except_p;
status.stack_size_for_pos = ALLOC_N(int, body->iseq_size);
- status.funcname = funcname;
memset(status.stack_size_for_pos, NOT_COMPILED_STACK_SIZE, sizeof(int) * body->iseq_size);
/* For performance, we verify stack size only on compilation time ( without --jit-debug */