Index: src/ia32/assembler-ia32.h |
=================================================================== |
--- src/ia32/assembler-ia32.h (revision 3154) |
+++ src/ia32/assembler-ia32.h (working copy) |
@@ -439,6 +439,12 @@ |
inline static Address target_address_at(Address pc); |
inline static void set_target_address_at(Address pc, Address target); |
+ // This sets the branch destination (which is in the instruction on x86). |
+ inline static void set_target_at(Address instruction_payload, |
+ Address target) { |
+ set_target_address_at(instruction_payload, target); |
+ } |
+ |
static const int kCallTargetSize = kPointerSize; |
// Distance between the address of the code target in the call instruction |