Index: src/a64/assembler-a64.h |
diff --git a/src/a64/assembler-a64.h b/src/a64/assembler-a64.h |
index c4a02607caf95e442bd639c879812b78a4662a8b..3da4382b79aa8dfc9f028e6671e01c03e6bb3716 100644 |
--- a/src/a64/assembler-a64.h |
+++ b/src/a64/assembler-a64.h |
@@ -743,6 +743,10 @@ class Assembler : public AssemblerBase { |
virtual ~Assembler(); |
+ virtual void AbortedCodeGeneration() { |
+ num_pending_reloc_info_ = 0; |
+ } |
+ |
// System functions --------------------------------------------------------- |
// Start generating code from the beginning of the buffer, discarding any code |
// and data that has already been emitted into the buffer. |