mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6655638: dynamic languages need method handles
Initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.) Reviewed-by: kvn, twisti, never
This commit is contained in:
parent
318da3f68c
commit
ce0c084720
63 changed files with 5815 additions and 70 deletions
|
@ -237,6 +237,9 @@ class Exceptions {
|
|||
#define THROW_ARG_0(name, signature, arg) THROW_ARG_(name, signature, arg, 0)
|
||||
#define THROW_MSG_CAUSE_0(name, message, cause) THROW_MSG_CAUSE_(name, message, cause, 0)
|
||||
|
||||
#define THROW_NULL(name) THROW_(name, NULL)
|
||||
#define THROW_MSG_NULL(name, message) THROW_MSG_(name, message, NULL)
|
||||
|
||||
// The CATCH macro checks that no exception has been thrown by a function; it is used at
|
||||
// call sites about which is statically known that the callee cannot throw an exception
|
||||
// even though it is declared with TRAPS.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue