comparison src/share/vm/ci/ciUtilities.hpp @ 11198:1e6d5dec4a4e

Merge.
author Christian Humer <christian.humer@gmail.com>
date Mon, 05 Aug 2013 13:20:06 +0200
parents 6b0fd0964b87
children d8041d695d19
comparison
equal deleted inserted replaced
11197:3479ab380552 11198:1e6d5dec4a4e
94 return (result); \ 94 return (result); \
95 } \ 95 } \
96 CLEAR_PENDING_EXCEPTION; \ 96 CLEAR_PENDING_EXCEPTION; \
97 return (result); \ 97 return (result); \
98 } \ 98 } \
99 (0 99 (void)(0
100 100
101 #define KILL_COMPILE_ON_ANY \ 101 #define KILL_COMPILE_ON_ANY \
102 THREAD); \ 102 THREAD); \
103 if (HAS_PENDING_EXCEPTION) { \ 103 if (HAS_PENDING_EXCEPTION) { \
104 fatal("unhandled ci exception"); \ 104 fatal("unhandled ci exception"); \
105 CLEAR_PENDING_EXCEPTION; \ 105 CLEAR_PENDING_EXCEPTION; \
106 } \ 106 } \
107 (0 107 (void)(0
108 108
109 109
110 inline const char* bool_to_str(bool b) { 110 inline const char* bool_to_str(bool b) {
111 return ((b) ? "true" : "false"); 111 return ((b) ? "true" : "false");
112 } 112 }