Mercurial > hg > graal-compiler
diff src/cpu/zero/vm/frame_zero.cpp @ 12077:e16282db4946
8022956: Clang: enable return type warnings on BSD
Reviewed-by: coleenp, sla
author | twisti |
---|---|
date | Tue, 20 Aug 2013 10:57:50 -0700 |
parents | c566b81b3323 |
children | de6a9e811145 |
line wrap: on
line diff
--- a/src/cpu/zero/vm/frame_zero.cpp Mon Aug 19 09:33:29 2013 +0200 +++ b/src/cpu/zero/vm/frame_zero.cpp Tue Aug 20 10:57:50 2013 -0700 @@ -116,6 +116,7 @@ bool frame::safe_for_sender(JavaThread *thread) { ShouldNotCallThis(); + return false; } void frame::pd_gc_epilog() { @@ -123,6 +124,7 @@ bool frame::is_interpreted_frame_valid(JavaThread *thread) const { ShouldNotCallThis(); + return false; } BasicType frame::interpreter_frame_result(oop* oop_result, @@ -184,9 +186,8 @@ int frame::frame_size(RegisterMap* map) const { #ifdef PRODUCT ShouldNotCallThis(); -#else +#endif // PRODUCT return 0; // make javaVFrame::print_value work -#endif // PRODUCT } intptr_t* frame::interpreter_frame_tos_at(jint offset) const {