| Index: src/mips64/assembler-mips64-inl.h
 | 
| diff --git a/src/mips64/assembler-mips64-inl.h b/src/mips64/assembler-mips64-inl.h
 | 
| index 40c7640f2f8272b99c2ae826605098dc3117314b..bfeb3002eb631e169302d7575d62c3b5432120ad 100644
 | 
| --- a/src/mips64/assembler-mips64-inl.h
 | 
| +++ b/src/mips64/assembler-mips64-inl.h
 | 
| @@ -493,8 +493,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();
 | 
|    }
 | 
|  }
 | 
| 
 |