mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Decompose the captured_cc code for investigation
I'm investigating SEGVs like https://github.com/ruby/ruby/runs/2715166621?check_suite_focus=true. Because a lot of things are going on on this line, it's hard to identify the cause, especially because we can't get the core file of the failures. Therefore I intentionally increased the number of lines for investigation.
This commit is contained in:
parent
e9e3b65d83
commit
2209e152c0
1 changed files with 3 additions and 1 deletions
|
@ -13,7 +13,9 @@
|
|||
MAYBE_UNUSED(<%= ope.fetch(:decl) %>) = (<%= ope.fetch(:type) %>)operands[<%= i %>];
|
||||
% end
|
||||
% # compiler: Use captured cc to avoid race condition
|
||||
const struct rb_callcache *captured_cc = captured_cc_entries(status)[call_data_index(cd, body)];
|
||||
size_t cd_index = call_data_index(cd, body);
|
||||
const struct rb_callcache **cc_entries = captured_cc_entries(status);
|
||||
const struct rb_callcache *captured_cc = cc_entries[cd_index];
|
||||
%
|
||||
% # compiler: Inline send insn where some supported fastpath is used.
|
||||
const rb_iseq_t *iseq = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue