Index: src/a64/macro-assembler-a64.h |
diff --git a/src/a64/macro-assembler-a64.h b/src/a64/macro-assembler-a64.h |
index 93e9e80d043deee744e2273396a9923864bcdbd9..a4f68f05e332c8912bf0a3ad680be491b1414f37 100644 |
--- a/src/a64/macro-assembler-a64.h |
+++ b/src/a64/macro-assembler-a64.h |
@@ -2167,6 +2167,9 @@ class InstructionAccurateScope BASE_EMBEDDED { |
public: |
InstructionAccurateScope(MacroAssembler* masm, size_t count = 0) |
: masm_(masm), size_(count * kInstructionSize) { |
+ // Before blocking the const pool, see if it needs to be emitted. |
+ masm_->CheckConstPool(false, true); |
+ |
masm_->StartBlockConstPool(); |
#ifdef DEBUG |
if (count != 0) { |