Index: runtime/vm/regexp_assembler.h |
diff --git a/runtime/vm/regexp_assembler.h b/runtime/vm/regexp_assembler.h |
index 1a12789dbf18dedc83e6fd2593de224d87ba83b7..929405be083f23dd37b29b042d197e0da475c7b3 100644 |
--- a/runtime/vm/regexp_assembler.h |
+++ b/runtime/vm/regexp_assembler.h |
@@ -153,6 +153,9 @@ class RegExpMacroAssembler : public ZoneAllocated { |
virtual void CheckBitInTable(const TypedData& table, |
BlockLabel* on_bit_set) = 0; |
+ // Checks for pre-emption and serves as an OSR entry. |
+ virtual void CheckPreemption(bool is_backtrack) {} |
+ |
// Checks whether the given offset from the current position is before |
// the end of the string. May overwrite the current character. |
virtual void CheckPosition(intptr_t cp_offset, BlockLabel* on_outside_input) { |