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

Unified Diff: runtime/vm/symbols.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: Addressed Ivan's comments. Created 6 years, 2 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_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 fc8497d71788e9371d06867506c814ab9cc4617b..c55fb72f8e41c84674c0e25ccd8716dccc110565 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, "[]") \
@@ -325,6 +328,30 @@ 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") \
+ V(_oneCodeUnitAt, "_oneCodeUnitAt") \
+ V(_twoCodeUnitsAt, "_twoCodeUnitsAt") \
+ V(_fourCodeUnitsAt, "_fourCodeUnitsAt") \
// Contains a list of frequently used strings in a canonicalized form. This
@@ -368,6 +395,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