| Index: src/arm/assembler-arm.h
|
| diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h
|
| index 97d4226503b21e56e8881632ed8736a900ac1166..67a1f7301c8db11fc3c68078f607afa67200e7ca 100644
|
| --- a/src/arm/assembler-arm.h
|
| +++ b/src/arm/assembler-arm.h
|
| @@ -1206,6 +1206,10 @@ class Assembler : public AssemblerBase {
|
| PositionsRecorder* positions_recorder() { return &positions_recorder_; }
|
|
|
| // Read/patch instructions
|
| + Instr instr_at(int pos) { return *reinterpret_cast<Instr*>(buffer_ + pos); }
|
| + void instr_at_put(int pos, Instr instr) {
|
| + *reinterpret_cast<Instr*>(buffer_ + pos) = instr;
|
| + }
|
| static Instr instr_at(byte* pc) { return *reinterpret_cast<Instr*>(pc); }
|
| static void instr_at_put(byte* pc, Instr instr) {
|
| *reinterpret_cast<Instr*>(pc) = instr;
|
| @@ -1260,12 +1264,6 @@ class Assembler : public AssemblerBase {
|
|
|
| int buffer_space() const { return reloc_info_writer.pos() - pc_; }
|
|
|
| - // Read/patch instructions
|
| - Instr instr_at(int pos) { return *reinterpret_cast<Instr*>(buffer_ + pos); }
|
| - void instr_at_put(int pos, Instr instr) {
|
| - *reinterpret_cast<Instr*>(buffer_ + pos) = instr;
|
| - }
|
| -
|
| // Decode branch instruction at pos and return branch target pos
|
| int target_at(int pos);
|
|
|
|
|