Mercurial > hg > graal-compiler
comparison src/share/vm/ci/ciUtilities.hpp @ 11173:6b0fd0964b87
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 31 Jul 2013 11:00:54 +0200 |
parents | ce248dc0a656 ef57c43512d6 |
children | d8041d695d19 |
comparison
equal
deleted
inserted
replaced
10912:4ea54634f03e | 11173:6b0fd0964b87 |
---|---|
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 } |