comparison src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp @ 21559:be896a1983c0

recast all Graal native code as JVMCI code (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Thu, 28 May 2015 15:36:48 +0200
parents 6f8d03da5d08
children
comparison
equal deleted inserted replaced
21558:d563baeca9df 21559:be896a1983c0
482 // method (not a call from the segv site). 482 // method (not a call from the segv site).
483 pc = (address)uc->uc_mcontext.gregs[REG_O7]; 483 pc = (address)uc->uc_mcontext.gregs[REG_O7];
484 } 484 }
485 #endif // COMPILER2 485 #endif // COMPILER2
486 486
487 #ifdef GRAAL 487 #ifdef JVMCI
488 else if (sig == SIGILL && info->si_trapno == 0x100 + ST_RESERVED_FOR_USER_0) { 488 else if (sig == SIGILL && info->si_trapno == 0x100 + ST_RESERVED_FOR_USER_0) {
489 printf("SIGILL 0x%x 0x%x\n", info->si_trapno, ST_RESERVED_FOR_USER_0); 489 printf("SIGILL 0x%x 0x%x\n", info->si_trapno, ST_RESERVED_FOR_USER_0);
490 uc->uc_mcontext.gregs[REG_PC] = (greg_t)pc+4; 490 uc->uc_mcontext.gregs[REG_PC] = (greg_t)pc+4;
491 uc->uc_mcontext.gregs[REG_nPC] = (greg_t)npc + 4; 491 uc->uc_mcontext.gregs[REG_nPC] = (greg_t)npc + 4;
492 return true; 492 return true;
493 } 493 }
494 #endif // GRAAL 494 #endif // JVMCI
495 495
496 else if (sig == SIGSEGV && info->si_code > 0 && !MacroAssembler::needs_explicit_null_check((intptr_t)info->si_addr)) { 496 else if (sig == SIGSEGV && info->si_code > 0 && !MacroAssembler::needs_explicit_null_check((intptr_t)info->si_addr)) {
497 // Determination of interpreter/vtable stub/compiled code null exception 497 // Determination of interpreter/vtable stub/compiled code null exception
498 stub = SharedRuntime::continuation_for_implicit_exception(thread, pc, SharedRuntime::IMPLICIT_NULL); 498 stub = SharedRuntime::continuation_for_implicit_exception(thread, pc, SharedRuntime::IMPLICIT_NULL);
499 } 499 }