Mercurial > hg > graal-compiler
comparison src/cpu/ppc/vm/stubGenerator_ppc.cpp @ 14451:b858620b0081
8031319: PPC64: Some fixes in ppc and aix coding.
Reviewed-by: kvn
author | goetz |
---|---|
date | Tue, 07 Jan 2014 17:24:59 +0100 |
parents | 67fa91961822 |
children | 0c521b3f32dd |
comparison
equal
deleted
inserted
replaced
14450:c3efa8868779 | 14451:b858620b0081 |
---|---|
2025 // stubRoutines.hpp. | 2025 // stubRoutines.hpp. |
2026 | 2026 |
2027 StubRoutines::_forward_exception_entry = generate_forward_exception(); | 2027 StubRoutines::_forward_exception_entry = generate_forward_exception(); |
2028 StubRoutines::_call_stub_entry = generate_call_stub(StubRoutines::_call_stub_return_address); | 2028 StubRoutines::_call_stub_entry = generate_call_stub(StubRoutines::_call_stub_return_address); |
2029 StubRoutines::_catch_exception_entry = generate_catch_exception(); | 2029 StubRoutines::_catch_exception_entry = generate_catch_exception(); |
2030 | |
2031 // Build this early so it's available for the interpreter. | |
2032 StubRoutines::_throw_StackOverflowError_entry = | |
2033 generate_throw_exception("StackOverflowError throw_exception", | |
2034 CAST_FROM_FN_PTR(address, SharedRuntime::throw_StackOverflowError), false); | |
2030 } | 2035 } |
2031 | 2036 |
2032 void generate_all() { | 2037 void generate_all() { |
2033 // Generates all stubs and initializes the entry points | 2038 // Generates all stubs and initializes the entry points |
2034 | 2039 |
2036 // non-core builds | 2041 // non-core builds |
2037 StubRoutines::_throw_AbstractMethodError_entry = generate_throw_exception("AbstractMethodError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_AbstractMethodError), false); | 2042 StubRoutines::_throw_AbstractMethodError_entry = generate_throw_exception("AbstractMethodError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_AbstractMethodError), false); |
2038 // Handle IncompatibleClassChangeError in itable stubs. | 2043 // Handle IncompatibleClassChangeError in itable stubs. |
2039 StubRoutines::_throw_IncompatibleClassChangeError_entry= generate_throw_exception("IncompatibleClassChangeError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_IncompatibleClassChangeError), false); | 2044 StubRoutines::_throw_IncompatibleClassChangeError_entry= generate_throw_exception("IncompatibleClassChangeError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_IncompatibleClassChangeError), false); |
2040 StubRoutines::_throw_NullPointerException_at_call_entry= generate_throw_exception("NullPointerException at call throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_NullPointerException_at_call), false); | 2045 StubRoutines::_throw_NullPointerException_at_call_entry= generate_throw_exception("NullPointerException at call throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_NullPointerException_at_call), false); |
2041 StubRoutines::_throw_StackOverflowError_entry = generate_throw_exception("StackOverflowError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_StackOverflowError), false); | |
2042 | 2046 |
2043 StubRoutines::_handler_for_unsafe_access_entry = generate_handler_for_unsafe_access(); | 2047 StubRoutines::_handler_for_unsafe_access_entry = generate_handler_for_unsafe_access(); |
2044 | 2048 |
2045 // support for verify_oop (must happen after universe_init) | 2049 // support for verify_oop (must happen after universe_init) |
2046 StubRoutines::_verify_oop_subroutine_entry = generate_verify_oop(); | 2050 StubRoutines::_verify_oop_subroutine_entry = generate_verify_oop(); |