Index: src/mips/assembler-mips-inl.h |
diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h |
index afca7d00a6c113fcf65f6dac011cf5eef8633f7d..bb422a3fcd900bc726c0e01413cb9cd2f93b537c 100644 |
--- a/src/mips/assembler-mips-inl.h |
+++ b/src/mips/assembler-mips-inl.h |
@@ -500,8 +500,8 @@ void Assembler::CheckBuffer() { |
} |
-void Assembler::CheckTrampolinePoolQuick() { |
- if (pc_offset() >= next_buffer_check_) { |
+void Assembler::CheckTrampolinePoolQuick(int extra_instructions) { |
+ if (pc_offset() >= next_buffer_check_ - extra_instructions * kInstrSize) { |
CheckTrampolinePool(); |
} |
} |