6848466: frame::frame_size() assertion failure with -XX:+DebugDeoptimization

Add a RegisterMap* argument to frame::frame_size() to correctly compute the sender frame

Reviewed-by: never
This commit is contained in:
Changpeng Fang 2009-06-05 10:25:39 -07:00
parent 73a6885c23
commit 0429abd38a
4 changed files with 6 additions and 6 deletions

View file

@ -117,7 +117,7 @@ class frame VALUE_OBJ_CLASS_SPEC {
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;