From 442923b561392deba9dc108b515cbc273e144a7d Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Wed, 21 Dec 2011 13:24:35 -0800 Subject: [PATCH] vm: walk stack on inline_cache_miss if PIC_DEBUG=1 Reveals inline cache stack coherency bug behind #460 --- vm/inline_cache.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/vm/inline_cache.cpp b/vm/inline_cache.cpp index 4f1e907d7f..1f06cf3a15 100755 --- a/vm/inline_cache.cpp +++ b/vm/inline_cache.cpp @@ -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 cache_entries(ctx->pop(),this);