Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/graalRuntime_x86.cpp @ 9232:bb2447c64055
strings used in compiled stubs are lowered to malloc'ed C strings so that there are no embedded oops (for the strings) in the resulting installed code
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 22 Apr 2013 17:59:14 +0200 |
parents | 4fc644c79b9f |
children | 3a94641c9e69 |
comparison
equal
deleted
inserted
replaced
9231:ee3a9188c65e | 9232:bb2447c64055 |
---|---|
970 __ leave(); | 970 __ leave(); |
971 __ ret(0); | 971 __ ret(0); |
972 break; | 972 break; |
973 } | 973 } |
974 | 974 |
975 case stub_printf_id: { | |
976 __ enter(); | |
977 oop_maps = new OopMapSet(); | |
978 OopMap* oop_map = save_live_registers(sasm, 4); | |
979 int call_offset = __ call_RT(noreg, noreg, (address)stub_printf, j_rarg0, j_rarg1, j_rarg2, j_rarg3); | |
980 oop_maps->add_gc_map(call_offset, oop_map); | |
981 restore_live_registers(sasm); | |
982 __ leave(); | |
983 __ ret(0); | |
984 break; | |
985 } | |
986 | |
975 case log_primitive_id: { | 987 case log_primitive_id: { |
976 __ enter(); | 988 __ enter(); |
977 oop_maps = new OopMapSet(); | 989 oop_maps = new OopMapSet(); |
978 OopMap* oop_map = save_live_registers(sasm, 3); | 990 OopMap* oop_map = save_live_registers(sasm, 3); |
979 int call_offset = __ call_RT(noreg, noreg, (address)log_primitive, j_rarg0, j_rarg1, j_rarg2); | 991 int call_offset = __ call_RT(noreg, noreg, (address)log_primitive, j_rarg0, j_rarg1, j_rarg2); |