vm: walk stack on inline_cache_miss if PIC_DEBUG=1
Reveals inline cache stack coherency bug behind #460db4
parent
b6f323450f
commit
442923b561
|
@ -197,6 +197,7 @@ void *factor_vm::inline_cache_miss(cell return_address_)
|
||||||
<< (tail_call_site ? "tail" : "non-tail")
|
<< (tail_call_site ? "tail" : "non-tail")
|
||||||
<< " call site 0x" << std::hex << return_address.value << std::dec
|
<< " call site 0x" << std::hex << return_address.value << std::dec
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
print_callstack();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
data_root<array> cache_entries(ctx->pop(),this);
|
data_root<array> cache_entries(ctx->pop(),this);
|
||||||
|
|
Loading…
Reference in New Issue