src/share/vm/utilities/debug.hpp
Print this page
rev 4323 : 8010121: Simplify ShouldNotReachHere/Fatal/ShouldNotReachHere2/others?
Summary: Removed ShouldNotReachHere2(msg) and replaced it by fatal(msg)
Reviewed-by:
Contributed-by: niclas.adlertz@oracle.com
*** 190,205 ****
do { \
report_should_not_reach_here(__FILE__, __LINE__); \
BREAKPOINT; \
} while (0)
- #define ShouldNotReachHere2(message) \
- do { \
- report_should_not_reach_here2(__FILE__, __LINE__, message); \
- BREAKPOINT; \
- } while (0)
-
#define Unimplemented() \
do { \
report_unimplemented(__FILE__, __LINE__); \
BREAKPOINT; \
} while (0)
--- 190,199 ----
*** 216,226 ****
void report_fatal(const char* file, int line, const char* message);
void report_vm_out_of_memory(const char* file, int line, size_t size,
const char* message);
void report_should_not_call(const char* file, int line);
void report_should_not_reach_here(const char* file, int line);
- void report_should_not_reach_here2(const char* file, int line, const char* message);
void report_unimplemented(const char* file, int line);
void report_untested(const char* file, int line, const char* message);
void warning(const char* format, ...);
--- 210,219 ----