Index: src/arm/assembler-arm.h |
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h |
index 73c109972ed48e7e64a90a691bd6f3c427c4393d..1d09830c5126d0c3c2a82d30b1ff440b36b917cf 100644 |
--- a/src/arm/assembler-arm.h |
+++ b/src/arm/assembler-arm.h |
@@ -1492,6 +1492,12 @@ class Assembler : public AssemblerBase { |
// Check if is time to emit a constant pool. |
void CheckConstPool(bool force_emit, bool require_jump); |
+ void MaybeCheckConstPool() { |
+ if (pc_offset() >= next_buffer_check_) { |
+ CheckConstPool(false, true); |
+ } |
+ } |
+ |
int EmitEmbeddedConstantPool() { |
DCHECK(FLAG_enable_embedded_constant_pool); |
return constant_pool_builder_.Emit(this); |