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

Unified Diff: runtime/vm/regexp.h

Issue 722243002: Indirectly dispatch all backtracking jumps through the same block. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: return on unreachable 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/intermediate_language.cc ('k') | runtime/vm/regexp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/regexp.h
diff --git a/runtime/vm/regexp.h b/runtime/vm/regexp.h
index 2675aaaf5a51ffe9ebd0fb29d4510ae1095abcc9..81a6454d0748dcbe079032bf7e2792203b19cce6 100644
--- a/runtime/vm/regexp.h
+++ b/runtime/vm/regexp.h
@@ -1372,22 +1372,22 @@ class RegExpEngine: public AllStatic {
public:
struct CompilationResult {
explicit CompilationResult(const char* error_message)
- : macro_assembler(NULL),
+ : backtrack_goto(NULL),
graph_entry(NULL),
num_blocks(-1),
num_stack_locals(-1),
error_message(error_message) {}
- CompilationResult(IRRegExpMacroAssembler* macro_assembler,
+ CompilationResult(IndirectGotoInstr* backtrack_goto,
GraphEntryInstr* graph_entry,
intptr_t num_blocks,
intptr_t num_stack_locals)
- : macro_assembler(macro_assembler),
+ : backtrack_goto(backtrack_goto),
graph_entry(graph_entry),
num_blocks(num_blocks),
num_stack_locals(num_stack_locals),
error_message(NULL) {}
- IRRegExpMacroAssembler* macro_assembler;
+ IndirectGotoInstr* backtrack_goto;
GraphEntryInstr* graph_entry;
const intptr_t num_blocks;
const intptr_t num_stack_locals;
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698