Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index 0b47748d6b464556c0383d5ac6d2ca1bb3e3d672..7fdf50c7a1e026cab03685ffbb7acccbea348c42 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -387,6 +387,11 @@ void Assembler::set_target_address_at(Address pc, Address target) { |
} |
+Address Assembler::target_address_from_return_address(Address pc) { |
+ return pc - kCallTargetAddressOffset; |
+} |
+ |
+ |
Displacement Assembler::disp_at(Label* L) { |
return Displacement(long_at(L->pos())); |
} |