src/cpu/sparc/vm/stubGenerator_sparc.cpp

changeset 3372
dca455dea3a7
parent 3157
a92cdbac8b9e
child 3400
22cee0ee8927
equal deleted inserted replaced
3371:8fdf463085e1 3372:dca455dea3a7
3412 // and O2 respectively. 3412 // and O2 respectively.
3413 StubRoutines::_throw_WrongMethodTypeException_entry = 3413 StubRoutines::_throw_WrongMethodTypeException_entry =
3414 generate_throw_exception("WrongMethodTypeException throw_exception", 3414 generate_throw_exception("WrongMethodTypeException throw_exception",
3415 CAST_FROM_FN_PTR(address, SharedRuntime::throw_WrongMethodTypeException), 3415 CAST_FROM_FN_PTR(address, SharedRuntime::throw_WrongMethodTypeException),
3416 G5_method_type, G3_method_handle); 3416 G5_method_type, G3_method_handle);
3417
3418 // Build this early so it's available for the interpreter.
3419 StubRoutines::_throw_StackOverflowError_entry = generate_throw_exception("StackOverflowError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_StackOverflowError));
3417 } 3420 }
3418 3421
3419 3422
3420 void generate_all() { 3423 void generate_all() {
3421 // Generates all stubs and initializes the entry points 3424 // Generates all stubs and initializes the entry points
3425 StubRoutines::Sparc::_partial_subtype_check = generate_partial_subtype_check(); 3428 StubRoutines::Sparc::_partial_subtype_check = generate_partial_subtype_check();
3426 // These entry points require SharedInfo::stack0 to be set up in non-core builds 3429 // These entry points require SharedInfo::stack0 to be set up in non-core builds
3427 StubRoutines::_throw_AbstractMethodError_entry = generate_throw_exception("AbstractMethodError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_AbstractMethodError)); 3430 StubRoutines::_throw_AbstractMethodError_entry = generate_throw_exception("AbstractMethodError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_AbstractMethodError));
3428 StubRoutines::_throw_IncompatibleClassChangeError_entry= generate_throw_exception("IncompatibleClassChangeError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_IncompatibleClassChangeError)); 3431 StubRoutines::_throw_IncompatibleClassChangeError_entry= generate_throw_exception("IncompatibleClassChangeError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_IncompatibleClassChangeError));
3429 StubRoutines::_throw_NullPointerException_at_call_entry= generate_throw_exception("NullPointerException at call throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_NullPointerException_at_call)); 3432 StubRoutines::_throw_NullPointerException_at_call_entry= generate_throw_exception("NullPointerException at call throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_NullPointerException_at_call));
3430 StubRoutines::_throw_StackOverflowError_entry = generate_throw_exception("StackOverflowError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_StackOverflowError));
3431 3433
3432 StubRoutines::_handler_for_unsafe_access_entry = 3434 StubRoutines::_handler_for_unsafe_access_entry =
3433 generate_handler_for_unsafe_access(); 3435 generate_handler_for_unsafe_access();
3434 3436
3435 // support for verify_oop (must happen after universe_init) 3437 // support for verify_oop (must happen after universe_init)

mercurial