comparison src/cpu/x86/vm/c1_LIRAssembler_x86.cpp @ 2321:1b4e6a5d98e0

7012914: JSR 292 MethodHandlesTest C1: frame::verify_return_pc(return_address) failed: must be a return pc Reviewed-by: never, bdelsart
author twisti
date Mon, 28 Feb 2011 06:07:12 -0800
parents 55f868e91c3b
children b40d4fa697bf
comparison
equal deleted inserted replaced
2320:41d4973cf100 2321:1b4e6a5d98e0
454 454
455 // check that there is really an exception 455 // check that there is really an exception
456 __ verify_not_null_oop(rax); 456 __ verify_not_null_oop(rax);
457 457
458 // search an exception handler (rax: exception oop, rdx: throwing pc) 458 // search an exception handler (rax: exception oop, rdx: throwing pc)
459 __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::handle_exception_nofpu_id))); 459 __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::handle_exception_from_callee_id)));
460 460 __ should_not_reach_here();
461 __ stop("should not reach here");
462
463 assert(code_offset() - offset <= exception_handler_size, "overflow"); 461 assert(code_offset() - offset <= exception_handler_size, "overflow");
464 __ end_a_stub(); 462 __ end_a_stub();
465 463
466 return offset; 464 return offset;
467 } 465 }