comparison src/share/vm/utilities/debug.hpp @ 8769:be4d5c6c1f79

8010121: Remove definition of ShouldNotReachHere2(msg) Reviewed-by: kvn, stefank, rbackman, twisti Contributed-by: niclas.adlertz@oracle.com
author neliasso
date Tue, 19 Mar 2013 10:31:16 +0100
parents da91efe96a93
children b9a918201d47 746b070f5022
comparison
equal deleted inserted replaced
8768:578d9044c463 8769:be4d5c6c1f79
190 do { \ 190 do { \
191 report_should_not_reach_here(__FILE__, __LINE__); \ 191 report_should_not_reach_here(__FILE__, __LINE__); \
192 BREAKPOINT; \ 192 BREAKPOINT; \
193 } while (0) 193 } while (0)
194 194
195 #define ShouldNotReachHere2(message) \
196 do { \
197 report_should_not_reach_here2(__FILE__, __LINE__, message); \
198 BREAKPOINT; \
199 } while (0)
200
201 #define Unimplemented() \ 195 #define Unimplemented() \
202 do { \ 196 do { \
203 report_unimplemented(__FILE__, __LINE__); \ 197 report_unimplemented(__FILE__, __LINE__); \
204 BREAKPOINT; \ 198 BREAKPOINT; \
205 } while (0) 199 } while (0)
216 void report_fatal(const char* file, int line, const char* message); 210 void report_fatal(const char* file, int line, const char* message);
217 void report_vm_out_of_memory(const char* file, int line, size_t size, 211 void report_vm_out_of_memory(const char* file, int line, size_t size,
218 const char* message); 212 const char* message);
219 void report_should_not_call(const char* file, int line); 213 void report_should_not_call(const char* file, int line);
220 void report_should_not_reach_here(const char* file, int line); 214 void report_should_not_reach_here(const char* file, int line);
221 void report_should_not_reach_here2(const char* file, int line, const char* message);
222 void report_unimplemented(const char* file, int line); 215 void report_unimplemented(const char* file, int line);
223 void report_untested(const char* file, int line, const char* message); 216 void report_untested(const char* file, int line, const char* message);
224 217
225 void warning(const char* format, ...); 218 void warning(const char* format, ...);
226 219