mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8152470: Add COMPILER2_OR_JVMCI definition
Defined(COMPILER2) || INCLUDE_JVMCI changed replaced with COMPILER2_OR_JVMCI Reviewed-by: kvn
This commit is contained in:
parent
c8aacd3972
commit
10a1edcc22
33 changed files with 88 additions and 89 deletions
|
@ -102,13 +102,13 @@ void SharedRuntime::generate_stubs() {
|
|||
_resolve_static_call_blob = generate_resolve_blob(CAST_FROM_FN_PTR(address, SharedRuntime::resolve_static_call_C), "resolve_static_call");
|
||||
_resolve_static_call_entry = _resolve_static_call_blob->entry_point();
|
||||
|
||||
#if defined(COMPILER2) || INCLUDE_JVMCI
|
||||
#if COMPILER2_OR_JVMCI
|
||||
// Vectors are generated only by C2 and JVMCI.
|
||||
bool support_wide = is_wide_vector(MaxVectorSize);
|
||||
if (support_wide) {
|
||||
_polling_page_vectors_safepoint_handler_blob = generate_handler_blob(CAST_FROM_FN_PTR(address, SafepointSynchronize::handle_polling_page_exception), POLL_AT_VECTOR_LOOP);
|
||||
}
|
||||
#endif // COMPILER2 || INCLUDE_JVMCI
|
||||
#endif // COMPILER2_OR_JVMCI
|
||||
_polling_page_safepoint_handler_blob = generate_handler_blob(CAST_FROM_FN_PTR(address, SafepointSynchronize::handle_polling_page_exception), POLL_AT_LOOP);
|
||||
_polling_page_return_handler_blob = generate_handler_blob(CAST_FROM_FN_PTR(address, SafepointSynchronize::handle_polling_page_exception), POLL_AT_RETURN);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue