diff options
author | 卜部昌平 <[email protected]> | 2020-07-13 12:27:53 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2020-07-13 12:30:43 +0900 |
commit | 927fe2422fe8ca3ee50b76c3ee82d3238ea2daca (patch) | |
tree | f327c5a115e45c636fdb912cddd960f3521396c4 /tool/ruby_vm | |
parent | 16bc9bf7e85ed301498ccdea04569af1808559c2 (diff) |
mk_builtin_loader.rb: STACK_ADDR_FROM_TOP unusable
Stacks are emulated in MJIT, must not touch the original VM stack.
See also http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3061353
Diffstat (limited to 'tool/ruby_vm')
-rw-r--r-- | tool/ruby_vm/views/_mjit_compile_invokebuiltin.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ruby_vm/views/_mjit_compile_invokebuiltin.erb b/tool/ruby_vm/views/_mjit_compile_invokebuiltin.erb index a95a8a7438..29a21b17de 100644 --- a/tool/ruby_vm/views/_mjit_compile_invokebuiltin.erb +++ b/tool/ruby_vm/views/_mjit_compile_invokebuiltin.erb @@ -19,7 +19,7 @@ fprintf(f, " VALUE val;\n"); bf->compiler(f, <%= insn.name == 'invokebuiltin' ? '-1' : '(rb_num_t)operands[1]' - %>); + %>, b->stack_size); fprintf(f, " stack[%u] = val;\n", sp - 1); fprintf(f, "}\n"); % if insn.name != 'opt_invokebuiltin_delegate_leave' |