| 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 + '<']);
|
| }
|
|
|