hotspot/src/share/vm/utilities/debug.hpp
changeset 13728 882756847a04
parent 13393 f0344cc50a90
child 16370 4b75aa6388ab
--- a/hotspot/src/share/vm/utilities/debug.hpp	Fri Aug 31 16:39:35 2012 -0700
+++ b/hotspot/src/share/vm/utilities/debug.hpp	Sat Sep 01 13:25:18 2012 -0400
@@ -192,6 +192,12 @@
   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__);                                  \
@@ -212,6 +218,7 @@
                              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);