diff options
Diffstat (limited to 'deps/v8/src/regexp/regexp-bytecode-generator.h')
-rw-r--r-- | deps/v8/src/regexp/regexp-bytecode-generator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/src/regexp/regexp-bytecode-generator.h b/deps/v8/src/regexp/regexp-bytecode-generator.h index 84b7ce361c..dfcc2ca5f8 100644 --- a/deps/v8/src/regexp/regexp-bytecode-generator.h +++ b/deps/v8/src/regexp/regexp-bytecode-generator.h @@ -100,6 +100,12 @@ class V8_EXPORT_PRIVATE RegExpBytecodeGenerator : public RegExpMacroAssembler { int advance_current_offset_; int advance_current_end_; + // Stores jump edges emitted for the bytecode (used by + // RegExpBytecodePeepholeOptimization). + // Key: jump source (offset in buffer_ where jump destination is stored). + // Value: jump destination (offset in buffer_ to jump to). + ZoneUnorderedMap<int, int> jump_edges_; + Isolate* isolate_; static const int kInvalidPC = -1; |