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

Unified Diff: runtime/vm/regexp_assembler_ir.h

Issue 2896903002: Shuffle around deopt id allocation to give the flow graph builder a chance to record other data as … (Closed)
Patch Set: . Created 3 years, 7 months 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_assembler.cc ('k') | runtime/vm/regexp_assembler_ir.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/regexp_assembler_ir.h
diff --git a/runtime/vm/regexp_assembler_ir.h b/runtime/vm/regexp_assembler_ir.h
index ae70952201228d93b58490981a5560ef6c489f00..8dbb4abe99251661fa058fe818ad2fd3be49ffc9 100644
--- a/runtime/vm/regexp_assembler_ir.h
+++ b/runtime/vm/regexp_assembler_ir.h
@@ -132,6 +132,8 @@ class IRRegExpMacroAssembler : public RegExpMacroAssembler {
void FinalizeRegistersArray();
private:
+ intptr_t GetNextDeoptId() const { return thread_->GetNextDeoptId(); }
+
// Generate the contents of preset blocks. The entry block is the entry point
// of the generated code.
void GenerateEntryBlock();
@@ -359,6 +361,8 @@ class IRRegExpMacroAssembler : public RegExpMacroAssembler {
intptr_t next_id;
};
+ Thread* thread_;
+
// Which mode to generate code for (ASCII or UC16).
Mode mode_;
« no previous file with comments | « runtime/vm/regexp_assembler.cc ('k') | runtime/vm/regexp_assembler_ir.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698