diff src/share/vm/runtime/frame.hpp @ 793:eacd97c88873

6848466: frame::frame_size() assertion failure with -XX:+DebugDeoptimization Summary: add a RegisterMap* argument to frame::frame_size() to correctly compute the sender frame Reviewed-by: never
author cfang
date Fri, 05 Jun 2009 10:25:39 -0700
parents d1605aabd0a1
children bd02caa94611
line wrap: on
line diff
--- a/src/share/vm/runtime/frame.hpp	Wed Jun 03 18:15:25 2009 -0700
+++ b/src/share/vm/runtime/frame.hpp	Fri Jun 05 10:25:39 2009 -0700
@@ -117,7 +117,7 @@
   bool can_be_deoptimized() const;
 
   // returns the frame size in stack slots
-  int frame_size() const;
+  int frame_size(RegisterMap* map) const;
 
   // returns the sending frame
   frame sender(RegisterMap* map) const;