Index: src/mips/assembler-mips.h |
diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h |
index 1a49148b8892cb75e5150d8a94f38668f8cb63dd..a1673934384cdfcce63f8882dc00a74f5364a3d2 100644 |
--- a/src/mips/assembler-mips.h |
+++ b/src/mips/assembler-mips.h |
@@ -816,12 +816,6 @@ class Assembler : public AssemblerBase { |
PositionsRecorder* positions_recorder() { return &positions_recorder_; } |
- bool can_peephole_optimize(int instructions) { |
- if (!allow_peephole_optimization_) return false; |
- if (last_bound_pos_ > pc_offset() - instructions * kInstrSize) return false; |
- return reloc_info_writer.last_pc() <= pc_ - instructions * kInstrSize; |
- } |
- |
// Postpone the generation of the trampoline pool for the specified number of |
// instructions. |
void BlockTrampolinePoolFor(int instructions); |
@@ -1126,7 +1120,6 @@ class Assembler : public AssemblerBase { |
friend class BlockTrampolinePoolScope; |
PositionsRecorder positions_recorder_; |
- bool allow_peephole_optimization_; |
bool emit_debug_code_; |
friend class PositionsRecorder; |
friend class EnsureSpace; |