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

Unified Diff: runtime/vm/symbols.h

Issue 683433003: Integrate the Irregexp Regular Expression Engine. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: more 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_parser.cc ('k') | runtime/vm/unibrow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/symbols.h
diff --git a/runtime/vm/symbols.h b/runtime/vm/symbols.h
index 4abe031ab3ef234dadf28ad8309283c3c71cb185..d1b57ebd6ea905f32887bdac05e66cd58daae8d6 100644
--- a/runtime/vm/symbols.h
+++ b/runtime/vm/symbols.h
@@ -18,6 +18,9 @@ class ObjectPointerVisitor;
#define PREDEFINED_SYMBOLS_LIST(V) \
V(Empty, "") \
V(EqualOperator, "==") \
+ V(GreaterEqualOperator, ">=") \
+ V(LessEqualOperator, "<=") \
+ V(UnaryMinus, "unary-") \
V(Identical, "identical") \
V(Length, "length") \
V(IndexToken, "[]") \
@@ -160,6 +163,8 @@ class ObjectPointerVisitor;
V(_SendPortImpl, "_SendPortImpl") \
V(StackTrace, "StackTrace") \
V(JSSyntaxRegExp, "_JSSyntaxRegExp") \
+ V(RegExp, "RegExp") \
+ V(IrregExp, ":irregexp") \
V(Object, "Object") \
V(Int, "int") \
V(Double, "double") \
@@ -327,6 +332,27 @@ class ObjectPointerVisitor;
V(StubPrefix, "[Stub] ") \
V(ClassID, "ClassID") \
V(DartIsVM, "dart.isVM") \
+ V(stack, ":stack") \
+ V(current_character, ":current_character") \
+ V(current_position, ":current_position") \
+ V(string_param_length, ":string_param_length") \
+ V(capture_length, ":capture_length") \
+ V(word_character_map, ":word_character_map") \
+ V(match_start_index, ":match_start_index") \
+ V(capture_start_index, ":capture_start_index") \
+ V(match_end_index, ":match_end_index") \
+ V(char_in_capture, ":char_in_capture") \
+ V(char_in_match, ":char_in_match") \
+ V(result, ":result") \
+ V(position_registers, ":position_registers") \
+ V(string_param, ":string_param") \
+ V(start_index_param, ":start_index_param") \
+ V(clear, "clear") \
+ V(_wordCharacterMap, "_wordCharacterMap") \
+ V(print, "print") \
+ V(last, "last") \
+ V(removeLast, "removeLast") \
+ V(add, "add") \
// Contains a list of frequently used strings in a canonicalized form. This
@@ -370,6 +396,18 @@ PREDEFINED_SYMBOLS_LIST(DEFINE_SYMBOL_INDEX)
static const String& Equals() {
return *(symbol_handles_[kNullCharId + '=']);
}
+ static const String& Plus() {
+ return *(symbol_handles_[kNullCharId + '+']);
+ }
+ static const String& Minus() {
+ return *(symbol_handles_[kNullCharId + '-']);
+ }
+ static const String& BitOr() {
+ return *(symbol_handles_[kNullCharId + '|']);
+ }
+ static const String& BitAnd() {
+ return *(symbol_handles_[kNullCharId + '&']);
+ }
static const String& LAngleBracket() {
return *(symbol_handles_[kNullCharId + '<']);
}
« no previous file with comments | « runtime/vm/regexp_parser.cc ('k') | runtime/vm/unibrow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698