Index: src/arm/assembler-arm-inl.h |
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h |
index 28a323ab519b3d03b14719505fd6262da5e07915..4b4e1d32080311da54dabb76e130275c55f53a71 100644 |
--- a/src/arm/assembler-arm-inl.h |
+++ b/src/arm/assembler-arm-inl.h |
@@ -433,9 +433,7 @@ void Assembler::CheckBuffer() { |
if (buffer_space() <= kGap) { |
GrowBuffer(); |
} |
- if (pc_offset() >= next_buffer_check_) { |
- CheckConstPool(false, true); |
- } |
+ MaybeCheckConstPool(); |
} |