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

Unified Diff: runtime/vm/object.h

Issue 539153002: Port and integrate the irregexp engine from V8 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 9608f2942820451e4951caf690c0869c8813b213..e8ff12c93a02577625b1496cbc70061666527460 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -7121,6 +7121,16 @@ class JSRegExp : public Instance {
return raw_ptr()->num_bracket_expressions_;
}
+ RawFunction* one_byte_function() const {
+ return raw_ptr()->one_byte_function_;
+ }
+ RawFunction* two_byte_function() const {
+ return raw_ptr()->two_byte_function_;
+ }
+
+ void set_one_byte_function(const Function& function);
+ void set_two_byte_function(const Function& function);
+
void set_pattern(const String& pattern) const;
void set_num_bracket_expressions(intptr_t value) const;
void set_is_global() const { raw_ptr()->flags_ |= kGlobal; }

Powered by Google App Engine
This is Rietveld 408576698