hotspot/src/cpu/x86/vm/frame_x86.cpp
changeset 26821 ce9f82507dc2
parent 25714 87fa6860b5ae
child 28824 ad5e6cd229c0
--- a/hotspot/src/cpu/x86/vm/frame_x86.cpp	Tue Sep 23 17:24:34 2014 -0700
+++ b/hotspot/src/cpu/x86/vm/frame_x86.cpp	Wed Sep 24 12:19:07 2014 -0700
@@ -715,3 +715,10 @@
   assert(! is_compiled_frame(), "unknown compiled frame size");
   return fp();
 }
+
+#ifndef PRODUCT
+// This is a generic constructor which is only used by pns() in debug.cpp.
+frame::frame(void* sp, void* fp, void* pc) {
+  init((intptr_t*)sp, (intptr_t*)fp, (address)pc);
+}
+#endif