Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/cpu/zero/vm/frame_zero.cpp Thu May 06 02:09:18 2010 -0700 +++ b/src/cpu/zero/vm/frame_zero.cpp Fri May 07 04:20:56 2010 -0700 @@ -36,6 +36,10 @@ return zeroframe()->is_interpreter_frame(); } +bool frame::is_fake_stub_frame() const { + return zeroframe()->is_fake_stub_frame(); +} + frame frame::sender_for_entry_frame(RegisterMap *map) const { assert(zeroframe()->is_entry_frame(), "wrong type of frame"); assert(map != NULL, "map must be set");