equal
deleted
inserted
replaced
274 class ShortBranchVerifier: public StackObj { |
274 class ShortBranchVerifier: public StackObj { |
275 public: |
275 public: |
276 ShortBranchVerifier(AbstractAssembler* assm) {} |
276 ShortBranchVerifier(AbstractAssembler* assm) {} |
277 }; |
277 }; |
278 #endif |
278 #endif |
279 |
|
280 // Label functions |
|
281 void print(Label& L); |
|
282 |
279 |
283 public: |
280 public: |
284 |
281 |
285 // Creation |
282 // Creation |
286 AbstractAssembler(CodeBuffer* code); |
283 AbstractAssembler(CodeBuffer* code); |
439 * @param branch the location of the instruction to patch |
436 * @param branch the location of the instruction to patch |
440 * @param masm the assembler which generated the branch |
437 * @param masm the assembler which generated the branch |
441 */ |
438 */ |
442 void pd_patch_instruction(address branch, address target); |
439 void pd_patch_instruction(address branch, address target); |
443 |
440 |
444 #ifndef PRODUCT |
|
445 /** |
|
446 * Platform-dependent method of printing an instruction that needs to be |
|
447 * patched. |
|
448 * |
|
449 * @param branch the instruction to be patched in the buffer. |
|
450 */ |
|
451 static void pd_print_patched_instruction(address branch); |
|
452 #endif // PRODUCT |
|
453 }; |
441 }; |
454 |
442 |
455 #ifdef TARGET_ARCH_x86 |
443 #ifdef TARGET_ARCH_x86 |
456 # include "assembler_x86.hpp" |
444 # include "assembler_x86.hpp" |
457 #endif |
445 #endif |