From cdef13d7034d365cb7a9bc6aa981bf0a0aa854d0 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Thu, 3 May 2018 03:08:21 +0000 Subject: mjit_compile.c: verify stack size agreement between branches. mjit_compile.inc.erb: move the compiled_for_pos reference to mjit_compile.c git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/ruby_vm/views/mjit_compile.inc.erb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tool') diff --git a/tool/ruby_vm/views/mjit_compile.inc.erb b/tool/ruby_vm/views/mjit_compile.inc.erb index f78c45385f..9b74cebee1 100644 --- a/tool/ruby_vm/views/mjit_compile.inc.erb +++ b/tool/ruby_vm/views/mjit_compile.inc.erb @@ -73,7 +73,3 @@ switch (insn) { status->success = FALSE; break; } - -/* if next_pos is already compiled, next instruction won't be compiled in C code and needs `goto`. */ -if ((next_pos < body->iseq_size && status->compiled_for_pos[next_pos])) - fprintf(f, "goto label_%d;\n", next_pos); -- cgit v1.2.1