Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
12076:6725044c5725 | 12077:e16282db4946 |
---|---|
34 _pc = NULL; | 34 _pc = NULL; |
35 _cb = NULL; | 35 _cb = NULL; |
36 _deopt_state = unknown; | 36 _deopt_state = unknown; |
37 } | 37 } |
38 | 38 |
39 inline address frame::sender_pc() const { ShouldNotCallThis(); } | 39 inline address frame::sender_pc() const { ShouldNotCallThis(); return NULL; } |
40 | 40 |
41 inline frame::frame(ZeroFrame* zf, intptr_t* sp) { | 41 inline frame::frame(ZeroFrame* zf, intptr_t* sp) { |
42 _zeroframe = zf; | 42 _zeroframe = zf; |
43 _sp = sp; | 43 _sp = sp; |
44 switch (zeroframe()->type()) { | 44 switch (zeroframe()->type()) { |
87 return fp(); | 87 return fp(); |
88 } | 88 } |
89 | 89 |
90 inline intptr_t* frame::link() const { | 90 inline intptr_t* frame::link() const { |
91 ShouldNotCallThis(); | 91 ShouldNotCallThis(); |
92 return NULL; | |
92 } | 93 } |
93 | 94 |
94 #ifdef CC_INTERP | 95 #ifdef CC_INTERP |
95 inline interpreterState frame::get_interpreterState() const { | 96 inline interpreterState frame::get_interpreterState() const { |
96 return zero_interpreterframe()->interpreter_state(); | 97 return zero_interpreterframe()->interpreter_state(); |
149 ShouldNotCallThis(); | 150 ShouldNotCallThis(); |
150 } | 151 } |
151 | 152 |
152 inline oop frame::saved_oop_result(RegisterMap* map) const { | 153 inline oop frame::saved_oop_result(RegisterMap* map) const { |
153 ShouldNotCallThis(); | 154 ShouldNotCallThis(); |
155 return NULL; | |
154 } | 156 } |
155 | 157 |
156 inline bool frame::is_older(intptr_t* id) const { | 158 inline bool frame::is_older(intptr_t* id) const { |
157 ShouldNotCallThis(); | 159 ShouldNotCallThis(); |
160 return false; | |
158 } | 161 } |
159 | 162 |
160 inline intptr_t* frame::entry_frame_argument_at(int offset) const { | 163 inline intptr_t* frame::entry_frame_argument_at(int offset) const { |
161 ShouldNotCallThis(); | 164 ShouldNotCallThis(); |
165 return NULL; | |
162 } | 166 } |
163 | 167 |
164 inline intptr_t* frame::unextended_sp() const { | 168 inline intptr_t* frame::unextended_sp() const { |
165 if (zeroframe()->is_shark_frame()) | 169 if (zeroframe()->is_shark_frame()) |
166 return zero_sharkframe()->unextended_sp(); | 170 return zero_sharkframe()->unextended_sp(); |