Index: src/arm64/assembler-arm64-inl.h |
diff --git a/src/arm64/assembler-arm64-inl.h b/src/arm64/assembler-arm64-inl.h |
index b56e3ed2a18a3aff20778a4240c25af67596d170..3d12ac076c39c150e8f5f2bdba79be53eac9ad8d 100644 |
--- a/src/arm64/assembler-arm64-inl.h |
+++ b/src/arm64/assembler-arm64-inl.h |
@@ -1199,11 +1199,16 @@ void Assembler::LoadRelocated(const CPURegister& rt, const Operand& operand) { |
} |
-inline void Assembler::CheckBuffer() { |
+inline void Assembler::CheckBufferSpace() { |
ASSERT(pc_ < (buffer_ + buffer_size_)); |
if (buffer_space() < kGap) { |
GrowBuffer(); |
} |
+} |
+ |
+ |
+inline void Assembler::CheckBuffer() { |
+ CheckBufferSpace(); |
if (pc_offset() >= next_veneer_pool_check_) { |
CheckVeneerPool(false, true); |
} |