Chromium Code Reviews| Index: src/arm/assembler-arm-inl.h |
| =================================================================== |
| --- src/arm/assembler-arm-inl.h (revision 4001) |
| +++ src/arm/assembler-arm-inl.h (working copy) |
| @@ -214,6 +214,13 @@ |
| } |
| +void Assembler::emit_int32(int32_t x) { |
| + CheckBuffer(); |
| + *reinterpret_cast<int32_t*>(pc_) = x; |
| + pc_ += sizeof(int32_t); |
| +} |
| + |
| + |
| Address Assembler::target_address_address_at(Address pc) { |
| Address target_pc = pc; |
| Instr instr = Memory::int32_at(target_pc); |