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

Unified Diff: runtime/vm/regexp_assembler.h

Issue 716163003: Use one offsets table per generated irregexp matching function. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: comments Created 6 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.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/regexp_assembler.h
diff --git a/runtime/vm/regexp_assembler.h b/runtime/vm/regexp_assembler.h
index 92a7f28dd382f62a953e3edbf1d85458514f2692..3e2ac74c0eefde4407bdfe0f06985c235f76d3ab 100644
--- a/runtime/vm/regexp_assembler.h
+++ b/runtime/vm/regexp_assembler.h
@@ -333,9 +333,10 @@ class IRRegExpMacroAssembler: public RegExpMacroAssembler {
intptr_t num_stack_locals() const { return local_id_.Count(); }
intptr_t num_blocks() const { return block_id_.Count(); }
- // A table mapping block ids to block offsets, used to look up offsets
- // for indirect goto instructions.
- void FinalizeBlockOffsetTable();
+ // Fill in the table mapping block ids to block offsets. Used to
+ // look up offsets for the computed indirect-goto instructions.
+ static void FinalizeBlockOffsetTable(Isolate* isolate,
+ GraphEntryInstr* graph);
// Fill in indirect goto successors.
void FinalizeIndirectGotos();
« no previous file with comments | « runtime/vm/regexp.cc ('k') | runtime/vm/regexp_assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698