Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index 05b25ae2d7a525194832df5c2832f1f40b9a79ea..b8b1f49cbaaab2ac68df94942c16a3cebc7d55f4 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -3184,6 +3184,14 @@ void Assembler::dd(uint32_t data) { |
} |
+void Assembler::emit_code_stub_address(Code* stub) { |
+ CheckBuffer(); |
+ *reinterpret_cast<uint32_t*>(pc_) = |
+ reinterpret_cast<uint32_t>(stub->instruction_start()); |
+ pc_ += sizeof(uint32_t); |
+} |
+ |
+ |
void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data, |
UseConstantPoolMode mode) { |
// We do not try to reuse pool constants. |