Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index d66949cdc083e6ea3702a8a8b61fdf30aa1d87eb..009a97ee7a5ddb438cd68aa000a4b23d467d798b 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -1405,7 +1405,6 @@ void Assembler::b(int branch_offset, Condition cond) { |
void Assembler::bl(int branch_offset, Condition cond) { |
- positions_recorder()->WriteRecordedPositions(); |
DCHECK((branch_offset & 3) == 0); |
int imm24 = branch_offset >> 2; |
CHECK(is_int24(imm24)); |
@@ -1414,7 +1413,6 @@ void Assembler::bl(int branch_offset, Condition cond) { |
void Assembler::blx(int branch_offset) { // v5 and above |
- positions_recorder()->WriteRecordedPositions(); |
DCHECK((branch_offset & 1) == 0); |
int h = ((branch_offset & 2) >> 1)*B24; |
int imm24 = branch_offset >> 2; |
@@ -1424,14 +1422,12 @@ void Assembler::blx(int branch_offset) { // v5 and above |
void Assembler::blx(Register target, Condition cond) { // v5 and above |
- positions_recorder()->WriteRecordedPositions(); |
DCHECK(!target.is(pc)); |
emit(cond | B24 | B21 | 15*B16 | 15*B12 | 15*B8 | BLX | target.code()); |
} |
void Assembler::bx(Register target, Condition cond) { // v5 and above, plus v4t |
- positions_recorder()->WriteRecordedPositions(); |
DCHECK(!target.is(pc)); // use of pc is actually allowed, but discouraged |
emit(cond | B24 | B21 | 15*B16 | 15*B12 | 15*B8 | BX | target.code()); |
} |
@@ -1539,9 +1535,6 @@ void Assembler::orr(Register dst, Register src1, const Operand& src2, |
void Assembler::mov(Register dst, const Operand& src, SBit s, Condition cond) { |
- if (dst.is(pc)) { |
- positions_recorder()->WriteRecordedPositions(); |
- } |
// Don't allow nop instructions in the form mov rn, rn to be generated using |
// the mov instruction. They must be generated using nop(int/NopMarkerTypes) |
// or MarkCode(int/NopMarkerTypes) pseudo instructions. |
@@ -2030,9 +2023,6 @@ void Assembler::msr(SRegisterFieldMask fields, const Operand& src, |
// Load/Store instructions. |
void Assembler::ldr(Register dst, const MemOperand& src, Condition cond) { |
- if (dst.is(pc)) { |
- positions_recorder()->WriteRecordedPositions(); |
- } |
addrmod2(cond | B26 | L, dst, src); |
} |