vm: walk stack on inline_cache_miss if PIC_DEBUG=1

Reveals inline cache stack coherency bug behind #460
db4
Joe Groff 2011-12-21 13:24:35 -08:00
parent b6f323450f
commit 442923b561
1 changed files with 1 additions and 0 deletions

View File

@ -197,6 +197,7 @@ void *factor_vm::inline_cache_miss(cell return_address_)
<< (tail_call_site ? "tail" : "non-tail")
<< " call site 0x" << std::hex << return_address.value << std::dec
<< std::endl;
print_callstack();
#endif
data_root<array> cache_entries(ctx->pop(),this);