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

Side by Side Diff: runtime/vm/symbols.h

Issue 27307005: Change == into an instance call to allow polymorphic inlining of ==. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_SYMBOLS_H_ 5 #ifndef VM_SYMBOLS_H_
6 #define VM_SYMBOLS_H_ 6 #define VM_SYMBOLS_H_
7 7
8 #include "vm/object.h" 8 #include "vm/object.h"
9 #include "vm/snapshot_ids.h" 9 #include "vm/snapshot_ids.h"
10 10
11 namespace dart { 11 namespace dart {
12 12
13 // Forward declarations. 13 // Forward declarations.
14 class Isolate; 14 class Isolate;
15 class ObjectPointerVisitor; 15 class ObjectPointerVisitor;
16 16
17 #define PREDEFINED_SYMBOLS_LIST(V) \ 17 #define PREDEFINED_SYMBOLS_LIST(V) \
18 V(Empty, "") \ 18 V(Empty, "") \
19 V(EqualOperator, "==") \ 19 V(EqualOperator, "==") \
20 V(Identical, "identical") \ 20 V(Identical, "identical") \
21 V(Length, "length") \ 21 V(Length, "length") \
22 V(IndexToken, "[]") \ 22 V(IndexToken, "[]") \
23 V(AssignIndexToken, "[]=") \ 23 V(AssignIndexToken, "[]=") \
24 V(TopLevel, "::") \ 24 V(TopLevel, "::") \
25 V(DefaultLabel, ":L") \ 25 V(DefaultLabel, ":L") \
26 V(This, "this") \ 26 V(This, "this") \
27 V(Other, "other") \
27 V(Super, "super") \ 28 V(Super, "super") \
28 V(Call, "call") \ 29 V(Call, "call") \
29 V(Current, "current") \ 30 V(Current, "current") \
30 V(MoveNext, "moveNext") \ 31 V(MoveNext, "moveNext") \
31 V(Value, "value") \ 32 V(Value, "value") \
32 V(ExprTemp, ":expr_temp") \ 33 V(ExprTemp, ":expr_temp") \
33 V(AnonymousClosure, "<anonymous closure>") \ 34 V(AnonymousClosure, "<anonymous closure>") \
34 V(ClosureParameter, ":closure") \ 35 V(ClosureParameter, ":closure") \
35 V(PhaseParameter, ":phase") \ 36 V(PhaseParameter, ":phase") \
36 V(TypeArgumentsParameter, ":type_arguments") \ 37 V(TypeArgumentsParameter, ":type_arguments") \
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 friend class SnapshotReader; 489 friend class SnapshotReader;
489 friend class SnapshotWriter; 490 friend class SnapshotWriter;
490 friend class ApiMessageReader; 491 friend class ApiMessageReader;
491 492
492 DISALLOW_COPY_AND_ASSIGN(Symbols); 493 DISALLOW_COPY_AND_ASSIGN(Symbols);
493 }; 494 };
494 495
495 } // namespace dart 496 } // namespace dart
496 497
497 #endif // VM_SYMBOLS_H_ 498 #endif // VM_SYMBOLS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698