changeset 5240:ec177db4a412

fixed incorrect register arg in graal_create_out_of_bounds_exception stub
author Doug Simon <doug.simon@oracle.com>
date Fri, 13 Apr 2012 15:28:54 +0200
parents b9db4fee6eb2
children e24167877471
files src/cpu/x86/vm/c1_Runtime1_x86.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/x86/vm/c1_Runtime1_x86.cpp	Fri Apr 13 15:26:08 2012 +0200
+++ b/src/cpu/x86/vm/c1_Runtime1_x86.cpp	Fri Apr 13 15:28:54 2012 +0200
@@ -1909,7 +1909,7 @@
 		__ enter();
 		oop_maps = new OopMapSet();
 		OopMap* oop_map = save_live_registers(sasm, 0);
-		int call_offset = __ call_RT(rax, noreg, (address)graal_create_out_of_bounds_exception, c_rarg0);
+		int call_offset = __ call_RT(rax, noreg, (address)graal_create_out_of_bounds_exception, j_rarg0);
 		oop_maps->add_gc_map(call_offset, oop_map);
 		__ leave();
 		__ ret(0);