| Index: src/mips64/assembler-mips64-inl.h
|
| diff --git a/src/mips64/assembler-mips64-inl.h b/src/mips64/assembler-mips64-inl.h
|
| index 76117d08e3f7a8bd0faa1ad5812624bb5c855090..7f18335b5937f1d87f72a7a38cb02d13ae1ba7b8 100644
|
| --- a/src/mips64/assembler-mips64-inl.h
|
| +++ b/src/mips64/assembler-mips64-inl.h
|
| @@ -504,8 +504,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();
|
| }
|
| }
|
|
|