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

Unified Diff: runtime/vm/regexp_parser.h

Issue 982873004: Thread/Isolate refactoring: new(Isolate) -> new(Zone) (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/regexp_parser.h
===================================================================
--- runtime/vm/regexp_parser.h (revision 44266)
+++ runtime/vm/regexp_parser.h (working copy)
@@ -32,9 +32,9 @@
void FlushText();
void FlushTerms();
- Isolate* isolate() const { return isolate_; }
+ Zone* zone() const { return zone_; }
- Isolate* isolate_;
+ Zone* zone_;
bool pending_empty_;
ZoneGrowableArray<uint16_t>* characters_;
GrowableArray<RegExpTree*> terms_;
@@ -118,9 +118,9 @@
RegExpParserState(RegExpParserState* previous_state,
SubexpressionType group_type,
intptr_t disjunction_capture_index,
- Isolate *isolate)
+ Zone *zone)
: previous_state_(previous_state),
- builder_(new(isolate) RegExpBuilder()),
+ builder_(new(zone) RegExpBuilder()),
group_type_(group_type),
disjunction_capture_index_(disjunction_capture_index) {}
// Parser state of containing expression, if any.
@@ -146,7 +146,7 @@
intptr_t disjunction_capture_index_;
};
- Isolate* isolate() { return isolate_; }
+ Zone* zone() { return zone_; }
uint32_t current() { return current_; }
bool has_more() { return has_more_; }
@@ -155,7 +155,7 @@
const String& in() { return in_; }
void ScanForCaptures();
- Isolate* isolate_;
+ Zone* zone_;
String* error_;
ZoneGrowableArray<RegExpCapture*>* captures_;
const String& in_;
« no previous file with comments | « runtime/vm/regexp_assembler.cc ('k') | runtime/vm/regexp_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698