Lines Matching refs:sasm
141 #define __ sasm->
148 static OopMap* generate_oop_map(StubAssembler* sasm, bool save_fpu_registers) {
151 sasm->set_frame_size(frame_size_in_bytes / BytesPerWord);
176 static OopMap* save_live_registers(StubAssembler* sasm, bool save_fpu_registers = true) {
205 return generate_oop_map(sasm, save_fpu_registers);
208 static void restore_live_registers(StubAssembler* sasm, bool restore_fpu_registers = true) {
275 OopMapSet* Runtime1::generate_exception_throw(StubAssembler* sasm, address target, bool has_argument) {
277 OopMap* oop_map = save_live_registers(sasm);
292 OopMapSet* Runtime1::generate_stub_call(StubAssembler* sasm, Register result, address target,
295 OopMap* oop_map = save_live_registers(sasm);
311 restore_live_registers(sasm);
320 OopMapSet* Runtime1::generate_patching(StubAssembler* sasm, address target) {
322 OopMap* oop_map = save_live_registers(sasm);
341 restore_live_registers(sasm);
348 restore_live_registers(sasm);
355 OopMapSet* Runtime1::generate_code_for(StubID id, StubAssembler* sasm) {
366 oop_maps = generate_handle_exception(id, sasm);
456 oop_maps = generate_stub_call(sasm, I0, CAST_FROM_FN_PTR(address, new_instance), G5_klass);
464 oop_maps = generate_stub_call(sasm, noreg, CAST_FROM_FN_PTR(address, counter_overflow), G4, G5);
568 oop_maps = generate_stub_call(sasm, I0, CAST_FROM_FN_PTR(address, new_type_array), G5_klass, G4_length);
570 oop_maps = generate_stub_call(sasm, I0, CAST_FROM_FN_PTR(address, new_object_array), G5_klass, G4_length);
581 oop_maps = generate_stub_call(sasm, I0, CAST_FROM_FN_PTR(address, new_multi_array), I0, I1, I2);
605 OopMap* oop_map = save_live_registers(sasm);
612 restore_live_registers(sasm);
622 oop_maps = generate_exception_throw(sasm, CAST_FROM_FN_PTR(address, throw_range_check_exception), true);
629 oop_maps = generate_exception_throw(sasm, CAST_FROM_FN_PTR(address, throw_index_exception), true);
635 oop_maps = generate_exception_throw(sasm, CAST_FROM_FN_PTR(address, throw_div0_exception), false);
641 oop_maps = generate_exception_throw(sasm, CAST_FROM_FN_PTR(address, throw_null_pointer_exception), false);
647 oop_maps = generate_handle_exception(id, sasm);
653 oop_maps = generate_handle_exception(id, sasm);
684 oop_maps = generate_exception_throw(sasm, CAST_FROM_FN_PTR(address, throw_array_store_exception), true);
692 oop_maps = generate_exception_throw(sasm, CAST_FROM_FN_PTR(address, throw_class_cast_exception), true);
699 oop_maps = generate_exception_throw(sasm, CAST_FROM_FN_PTR(address, throw_incompatible_class_change_error), false);
735 OopMap* oop_map = save_live_registers(sasm, save_fpu_registers);
741 restore_live_registers(sasm, save_fpu_registers);
758 OopMap* oop_map = save_live_registers(sasm, save_fpu_registers);
764 restore_live_registers(sasm, save_fpu_registers);
774 OopMap* oop_map = save_live_registers(sasm);
778 restore_live_registers(sasm);
789 oop_maps = generate_patching(sasm, CAST_FROM_FN_PTR(address, access_field_patching));
795 oop_maps = generate_patching(sasm, CAST_FROM_FN_PTR(address, move_klass_patching));
804 save_live_registers(sasm);
812 restore_live_registers(sasm);
995 OopMapSet* Runtime1::generate_handle_exception(StubID id, StubAssembler* sasm) {
1008 oop_map = generate_oop_map(sasm, true);
1018 oop_map = save_live_registers(sasm);
1026 sasm->set_frame_size(frame_size_in_bytes / BytesPerWord);
1055 restore_live_registers(sasm);