Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Unified Diff: runtime/vm/regexp_assembler_bytecode.h

Issue 2510783002: VM: Optimize RegExp.matchAsPrefix(...) by generating a sticky RegExp specialization. (Closed)
Patch Set: Done Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/regexp.cc ('k') | runtime/vm/regexp_assembler_bytecode.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/regexp_assembler_bytecode.h
diff --git a/runtime/vm/regexp_assembler_bytecode.h b/runtime/vm/regexp_assembler_bytecode.h
index e8d61740475613797d342e137f6ce7fa1e465fdf..df9e46fa2c45e62aae344790ea2193b20fb311bd 100644
--- a/runtime/vm/regexp_assembler_bytecode.h
+++ b/runtime/vm/regexp_assembler_bytecode.h
@@ -107,6 +107,7 @@ class BytecodeRegExpMacroAssembler : public RegExpMacroAssembler {
static RawInstance* Interpret(const RegExp& regexp,
const String& str,
const Smi& start_index,
+ bool is_sticky,
Zone* zone);
private:
« no previous file with comments | « runtime/vm/regexp.cc ('k') | runtime/vm/regexp_assembler_bytecode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698