Index: runtime/vm/regexp_assembler_ir.h |
diff --git a/runtime/vm/regexp_assembler_ir.h b/runtime/vm/regexp_assembler_ir.h |
index 8dbb4abe99251661fa058fe818ad2fd3be49ffc9..2d449241f581bc39b9b7462b5cc5caebe83e975b 100644 |
--- a/runtime/vm/regexp_assembler_ir.h |
+++ b/runtime/vm/regexp_assembler_ir.h |
@@ -32,6 +32,7 @@ class IRRegExpMacroAssembler : public RegExpMacroAssembler { |
intptr_t capture_count, |
const ParsedFunction* parsed_function, |
const ZoneGrowableArray<const ICData*>& ic_data_array, |
+ intptr_t osr_id, |
Zone* zone); |
virtual ~IRRegExpMacroAssembler(); |
@@ -284,8 +285,8 @@ class IRRegExpMacroAssembler : public RegExpMacroAssembler { |
// Load a number of characters starting from index in the pattern string. |
Value* LoadCodeUnitsAt(LocalVariable* index, intptr_t character_count); |
- // Check whether preemption has been requested. |
- void CheckPreemption(); |
+ // Check whether preemption has been requested. Also serves as an OSR entry. |
+ void CheckPreemption(bool is_backtrack); |
// Byte size of chars in the string to match (decided by the Mode argument) |
inline intptr_t char_size() { return static_cast<int>(mode_); } |