49 void Assembler::pd_patch_instruction(address branch, address target) {
50 ShouldNotCallThis();
51 }
52
53 #ifndef PRODUCT
54 void Assembler::pd_print_patched_instruction(address branch) {
55 ShouldNotCallThis();
56 }
57 #endif // PRODUCT
58
59 void MacroAssembler::align(int modulus) {
60 while (offset() % modulus != 0)
61 emit_byte(AbstractAssembler::code_fill_byte());
62 }
63
64 void MacroAssembler::bang_stack_with_offset(int offset) {
65 ShouldNotCallThis();
66 }
67
68 void MacroAssembler::advance(int bytes) {
69 _code_pos += bytes;
70 sync();
71 }
72
73 RegisterOrConstant MacroAssembler::delayed_value_impl(
74 intptr_t* delayed_value_addr, Register tmpl, int offset) {
75 ShouldNotCallThis();
76 }
77
78 void MacroAssembler::store_oop(jobject obj) {
79 code_section()->relocate(pc(), oop_Relocation::spec_for_immediate());
80 emit_address((address) obj);
81 }
82
83 void MacroAssembler::store_Metadata(Metadata* md) {
84 code_section()->relocate(pc(), metadata_Relocation::spec_for_immediate());
85 emit_address((address) md);
86 }
87
88 static void should_not_call() {
89 report_should_not_call(__FILE__, __LINE__);
90 }
|
49 void Assembler::pd_patch_instruction(address branch, address target) {
50 ShouldNotCallThis();
51 }
52
53 #ifndef PRODUCT
54 void Assembler::pd_print_patched_instruction(address branch) {
55 ShouldNotCallThis();
56 }
57 #endif // PRODUCT
58
59 void MacroAssembler::align(int modulus) {
60 while (offset() % modulus != 0)
61 emit_byte(AbstractAssembler::code_fill_byte());
62 }
63
64 void MacroAssembler::bang_stack_with_offset(int offset) {
65 ShouldNotCallThis();
66 }
67
68 void MacroAssembler::advance(int bytes) {
69 code_section()->set_end(code_section()->end() + bytes);
70 }
71
72 RegisterOrConstant MacroAssembler::delayed_value_impl(
73 intptr_t* delayed_value_addr, Register tmpl, int offset) {
74 ShouldNotCallThis();
75 }
76
77 void MacroAssembler::store_oop(jobject obj) {
78 code_section()->relocate(pc(), oop_Relocation::spec_for_immediate());
79 emit_address((address) obj);
80 }
81
82 void MacroAssembler::store_Metadata(Metadata* md) {
83 code_section()->relocate(pc(), metadata_Relocation::spec_for_immediate());
84 emit_address((address) md);
85 }
86
87 static void should_not_call() {
88 report_should_not_call(__FILE__, __LINE__);
89 }
|