Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/frame_x86.cpp @ 22803:f43fad8786fc
8058345: Refactor native stack printing from vmError.cpp to debug.cpp to make it available in gdb as well
Summary: Also fix stack trace on x86 to enable walking of runtime stubs and native wrappers
Reviewed-by: kvn
author | simonis |
---|---|
date | Wed, 24 Sep 2014 12:19:07 -0700 |
parents | 78bbf4d43a14 |
children | e8260b6328fb |
comparison
equal
deleted
inserted
replaced
22802:0ef505d06e12 | 22803:f43fad8786fc |
---|---|
715 } | 715 } |
716 // else rely on fp() | 716 // else rely on fp() |
717 assert(! is_compiled_frame(), "unknown compiled frame size"); | 717 assert(! is_compiled_frame(), "unknown compiled frame size"); |
718 return fp(); | 718 return fp(); |
719 } | 719 } |
720 | |
721 #ifndef PRODUCT | |
722 // This is a generic constructor which is only used by pns() in debug.cpp. | |
723 frame::frame(void* sp, void* fp, void* pc) { | |
724 init((intptr_t*)sp, (intptr_t*)fp, (address)pc); | |
725 } | |
726 #endif |