diff src/cpu/x86/vm/frame_x86.cpp @ 3365:3cfb240033d1

7043301: assert(locals < caller->fp() || locals > (caller->fp() + 16)) failed: locals in save area Reviewed-by: kvn
author never
date Mon, 09 May 2011 19:45:52 -0700
parents 167b70ff3abc
children be4ca325525a 5432047c7db7
line wrap: on
line diff
--- a/src/cpu/x86/vm/frame_x86.cpp	Fri May 06 19:34:55 2011 -0700
+++ b/src/cpu/x86/vm/frame_x86.cpp	Mon May 09 19:45:52 2011 -0700
@@ -650,7 +650,7 @@
 #ifdef ASSERT
 
 #define DESCRIBE_FP_OFFSET(name) \
-  values.describe(-1, fp() + frame::name##_offset, #name)
+  values.describe(frame_no, fp() + frame::name##_offset, #name)
 
 void frame::describe_pd(FrameValues& values, int frame_no) {
   if (is_interpreted_frame()) {