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

Unified Diff: runtime/vm/regexp_assembler.h

Issue 765743003: Support use of external strings as inputs to LoadCodeUnitsInstr. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: safety Created 6 years 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/raw_object.h ('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 1c5d4fe5c4386ac682e71400ffe143b4c4cb1337..4a4696c40454accbd3e53f93c6e1211e3e26fd18 100644
--- a/runtime/vm/regexp_assembler.h
+++ b/runtime/vm/regexp_assembler.h
@@ -469,12 +469,10 @@ class IRRegExpMacroAssembler : public RegExpMacroAssembler {
intptr_t character_count);
// Returns the character within the passed string at the specified index.
- Value* CharacterAt(Definition* index);
+ Value* CharacterAt(LocalVariable* index);
// Load a number of characters starting from index in the pattern string.
- Value* LoadCodeUnitsAt(Value* pattern,
- Value* index,
- intptr_t character_count);
+ Value* LoadCodeUnitsAt(LocalVariable* index, intptr_t character_count);
// Check whether preemption has been requested.
void CheckPreemption();
@@ -606,6 +604,7 @@ class IRRegExpMacroAssembler : public RegExpMacroAssembler {
LocalVariable* match_end_index_;
LocalVariable* char_in_capture_;
LocalVariable* char_in_match_;
+ LocalVariable* index_temp_;
LocalVariable* result_;
« no previous file with comments | « runtime/vm/raw_object.h ('k') | runtime/vm/regexp_assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698