comparison src/cpu/sparc/vm/c1_LIRAssembler_sparc.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 13bc79b5c9c8
comparison
equal deleted inserted replaced
2320:41d4973cf100 2321:1b4e6a5d98e0
393 return -1; 393 return -1;
394 } 394 }
395 395
396 int offset = code_offset(); 396 int offset = code_offset();
397 397
398 __ call(Runtime1::entry_for(Runtime1::handle_exception_id), relocInfo::runtime_call_type); 398 __ call(Runtime1::entry_for(Runtime1::handle_exception_from_callee_id), relocInfo::runtime_call_type);
399 __ delayed()->nop(); 399 __ delayed()->nop();
400 debug_only(__ stop("should have gone to the caller");) 400 __ should_not_reach_here();
401 assert(code_offset() - offset <= exception_handler_size, "overflow"); 401 assert(code_offset() - offset <= exception_handler_size, "overflow");
402 __ end_a_stub(); 402 __ end_a_stub();
403 403
404 return offset; 404 return offset;
405 } 405 }