equal
deleted
inserted
replaced
2490 return EXCEPTION_CONTINUE_EXECUTION; |
2490 return EXCEPTION_CONTINUE_EXECUTION; |
2491 } else |
2491 } else |
2492 #endif |
2492 #endif |
2493 { |
2493 { |
2494 // Null pointer exception. |
2494 // Null pointer exception. |
2495 if (!MacroAssembler::needs_explicit_null_check((intptr_t)addr)) { |
2495 if (MacroAssembler::uses_implicit_null_check((void*)addr)) { |
2496 address stub = SharedRuntime::continuation_for_implicit_exception(thread, pc, SharedRuntime::IMPLICIT_NULL); |
2496 address stub = SharedRuntime::continuation_for_implicit_exception(thread, pc, SharedRuntime::IMPLICIT_NULL); |
2497 if (stub != NULL) return Handle_Exception(exceptionInfo, stub); |
2497 if (stub != NULL) return Handle_Exception(exceptionInfo, stub); |
2498 } |
2498 } |
2499 report_error(t, exception_code, pc, exceptionInfo->ExceptionRecord, |
2499 report_error(t, exception_code, pc, exceptionInfo->ExceptionRecord, |
2500 exceptionInfo->ContextRecord); |
2500 exceptionInfo->ContextRecord); |