src/share/vm/interpreter/interpreterRuntime.cpp

changeset 2978
d83ac25d0304
parent 2934
7db2b9499c36
child 2988
2c359f27615c
     1.1 --- a/src/share/vm/interpreter/interpreterRuntime.cpp	Wed Jun 15 10:20:03 2011 -0700
     1.2 +++ b/src/share/vm/interpreter/interpreterRuntime.cpp	Thu Jun 16 13:46:55 2011 -0700
     1.3 @@ -362,25 +362,6 @@
     1.4    THROW_MSG(vmSymbols::java_lang_ClassCastException(), message);
     1.5  IRT_END
     1.6  
     1.7 -// required can be either a MethodType, or a Class (for a single argument)
     1.8 -// actual (if not null) can be either a MethodHandle, or an arbitrary value (for a single argument)
     1.9 -IRT_ENTRY(void, InterpreterRuntime::throw_WrongMethodTypeException(JavaThread* thread,
    1.10 -                                                                   oopDesc* required,
    1.11 -                                                                   oopDesc* actual)) {
    1.12 -  ResourceMark rm(thread);
    1.13 -  char* message = SharedRuntime::generate_wrong_method_type_message(thread, required, actual);
    1.14 -
    1.15 -  if (ProfileTraps) {
    1.16 -    note_trap(thread, Deoptimization::Reason_constraint, CHECK);
    1.17 -  }
    1.18 -
    1.19 -  // create exception
    1.20 -  THROW_MSG(vmSymbols::java_lang_invoke_WrongMethodTypeException(), message);
    1.21 -}
    1.22 -IRT_END
    1.23 -
    1.24 -
    1.25 -
    1.26  // exception_handler_for_exception(...) returns the continuation address,
    1.27  // the exception oop (via TLS) and sets the bci/bcp for the continuation.
    1.28  // The exception oop is returned to make sure it is preserved over GC (it

mercurial