Mercurial > hg > graal-jvmci-8
comparison src/cpu/zero/vm/frame_zero.cpp @ 1512:6cfbdb113e52
6950617: Zero/Shark interface updates
Summary: Zero needs a couple of new methods to allow Shark to access the new frame anchor field.
Reviewed-by: twisti
Contributed-by: Gary Benson <gbenson@redhat.com>
author | twisti |
---|---|
date | Fri, 07 May 2010 04:20:56 -0700 |
parents | 0c5b3cf3c1f5 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1511:348346af6676 | 1512:6cfbdb113e52 |
---|---|
34 | 34 |
35 bool frame::is_interpreted_frame() const { | 35 bool frame::is_interpreted_frame() const { |
36 return zeroframe()->is_interpreter_frame(); | 36 return zeroframe()->is_interpreter_frame(); |
37 } | 37 } |
38 | 38 |
39 bool frame::is_fake_stub_frame() const { | |
40 return zeroframe()->is_fake_stub_frame(); | |
41 } | |
42 | |
39 frame frame::sender_for_entry_frame(RegisterMap *map) const { | 43 frame frame::sender_for_entry_frame(RegisterMap *map) const { |
40 assert(zeroframe()->is_entry_frame(), "wrong type of frame"); | 44 assert(zeroframe()->is_entry_frame(), "wrong type of frame"); |
41 assert(map != NULL, "map must be set"); | 45 assert(map != NULL, "map must be set"); |
42 assert(!entry_frame_is_first(), "next Java fp must be non zero"); | 46 assert(!entry_frame_is_first(), "next Java fp must be non zero"); |
43 assert(entry_frame_call_wrapper()->anchor()->last_Java_sp() == sender_sp(), | 47 assert(entry_frame_call_wrapper()->anchor()->last_Java_sp() == sender_sp(), |