diff src/cpu/x86/vm/c1_LIRAssembler_x86.cpp @ 4852:6d00795f99a1

Merge
author dsamersoff
date Wed, 25 Jan 2012 15:03:42 -0800
parents 898522ae3c32
children 701a83c86f28
line wrap: on
line diff
--- a/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp	Wed Jan 25 21:10:08 2012 +0400
+++ b/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp	Wed Jan 25 15:03:42 2012 -0800
@@ -406,7 +406,7 @@
   // search an exception handler (rax: exception oop, rdx: throwing pc)
   __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::handle_exception_from_callee_id)));
   __ should_not_reach_here();
-  assert(code_offset() - offset <= exception_handler_size, "overflow");
+  guarantee(code_offset() - offset <= exception_handler_size, "overflow");
   __ end_a_stub();
 
   return offset;
@@ -490,8 +490,7 @@
 
   __ pushptr(here.addr());
   __ jump(RuntimeAddress(SharedRuntime::deopt_blob()->unpack()));
-
-  assert(code_offset() - offset <= deopt_handler_size, "overflow");
+  guarantee(code_offset() - offset <= deopt_handler_size, "overflow");
   __ end_a_stub();
 
   return offset;