changeset 17032:8f3ece00da4f

Claim entry_frame slots for VerifyStack
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 02 Sep 2014 21:42:29 -0700
parents 4f8c81b1d1cb
children 2d6dd2eebd51
files src/cpu/x86/vm/frame_x86.cpp
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/x86/vm/frame_x86.cpp	Tue Sep 02 20:50:40 2014 -0700
+++ b/src/cpu/x86/vm/frame_x86.cpp	Tue Sep 02 21:42:29 2014 -0700
@@ -695,6 +695,13 @@
     DESCRIBE_FP_OFFSET(interpreter_frame_locals);
     DESCRIBE_FP_OFFSET(interpreter_frame_bcx);
     DESCRIBE_FP_OFFSET(interpreter_frame_initial_sp);
+  } else if (is_entry_frame()) {
+    // This could be more descriptive if we use the enum in
+    // stubGenerator to map to real names but it's most important to
+    // claim these frame slots so the error checking works.
+    for (int i = 0; i < entry_frame_after_call_words; i++) {
+      values.describe(frame_no, fp() - i, err_msg("call_stub word fp - %d", i));
+    }
   }
 }
 #endif