Mercurial > hg > truffle
comparison src/share/vm/utilities/exceptions.hpp @ 710:e5b0439ef4ae
6655638: dynamic languages need method handles
Summary: initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.)
Reviewed-by: kvn, twisti, never
author | jrose |
---|---|
date | Wed, 08 Apr 2009 10:56:49 -0700 |
parents | a61af66fc99e |
children | bd02caa94611 |
comparison
equal
deleted
inserted
replaced
709:1d037ecd7960 | 710:e5b0439ef4ae |
---|---|
235 #define THROW_MSG_0(name, message) THROW_MSG_(name, message, 0) | 235 #define THROW_MSG_0(name, message) THROW_MSG_(name, message, 0) |
236 #define THROW_WRAPPED_0(name, oop_to_wrap) THROW_WRAPPED_(name, oop_to_wrap, 0) | 236 #define THROW_WRAPPED_0(name, oop_to_wrap) THROW_WRAPPED_(name, oop_to_wrap, 0) |
237 #define THROW_ARG_0(name, signature, arg) THROW_ARG_(name, signature, arg, 0) | 237 #define THROW_ARG_0(name, signature, arg) THROW_ARG_(name, signature, arg, 0) |
238 #define THROW_MSG_CAUSE_0(name, message, cause) THROW_MSG_CAUSE_(name, message, cause, 0) | 238 #define THROW_MSG_CAUSE_0(name, message, cause) THROW_MSG_CAUSE_(name, message, cause, 0) |
239 | 239 |
240 #define THROW_NULL(name) THROW_(name, NULL) | |
241 #define THROW_MSG_NULL(name, message) THROW_MSG_(name, message, NULL) | |
242 | |
240 // The CATCH macro checks that no exception has been thrown by a function; it is used at | 243 // The CATCH macro checks that no exception has been thrown by a function; it is used at |
241 // call sites about which is statically known that the callee cannot throw an exception | 244 // call sites about which is statically known that the callee cannot throw an exception |
242 // even though it is declared with TRAPS. | 245 // even though it is declared with TRAPS. |
243 | 246 |
244 #define CATCH \ | 247 #define CATCH \ |