Mercurial > hg > graal-compiler
diff src/cpu/zero/vm/frame_zero.inline.hpp @ 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 | c54a3122f9c8 |
children | de6a9e811145 |
line wrap: on
line diff
--- a/src/cpu/zero/vm/frame_zero.inline.hpp Mon Aug 19 09:33:29 2013 +0200 +++ b/src/cpu/zero/vm/frame_zero.inline.hpp Tue Aug 20 10:57:50 2013 -0700 @@ -36,7 +36,7 @@ _deopt_state = unknown; } -inline address frame::sender_pc() const { ShouldNotCallThis(); } +inline address frame::sender_pc() const { ShouldNotCallThis(); return NULL; } inline frame::frame(ZeroFrame* zf, intptr_t* sp) { _zeroframe = zf; @@ -89,6 +89,7 @@ inline intptr_t* frame::link() const { ShouldNotCallThis(); + return NULL; } #ifdef CC_INTERP @@ -151,14 +152,17 @@ inline oop frame::saved_oop_result(RegisterMap* map) const { ShouldNotCallThis(); + return NULL; } inline bool frame::is_older(intptr_t* id) const { ShouldNotCallThis(); + return false; } inline intptr_t* frame::entry_frame_argument_at(int offset) const { ShouldNotCallThis(); + return NULL; } inline intptr_t* frame::unextended_sp() const {