Chromium Code Reviews| Index: runtime/vm/symbols.h |
| diff --git a/runtime/vm/symbols.h b/runtime/vm/symbols.h |
| index 4abe031ab3ef234dadf28ad8309283c3c71cb185..de4c9752709c54fd8c71733649b45120deb64557 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_") \ |
|
Ivan Posva
2014/11/24 06:49:02
Generally we name compiler internal variables star
|
| + 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 + '<']); |
| } |