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 |