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

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

Issue 22425006: Fix equality of implicit closures in the Dart VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 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(HashCode, "get:hashCode") \
20 V(Identical, "identical") \ 21 V(Identical, "identical") \
21 V(Length, "length") \ 22 V(Length, "length") \
22 V(IndexToken, "[]") \ 23 V(IndexToken, "[]") \
23 V(AssignIndexToken, "[]=") \ 24 V(AssignIndexToken, "[]=") \
24 V(TopLevel, "::") \ 25 V(TopLevel, "::") \
25 V(DefaultLabel, ":L") \ 26 V(DefaultLabel, ":L") \
26 V(This, "this") \ 27 V(This, "this") \
27 V(Super, "super") \ 28 V(Super, "super") \
28 V(Call, "call") \ 29 V(Call, "call") \
29 V(Current, "current") \ 30 V(Current, "current") \
(...skipping 24 matching lines...) Expand all
54 V(NoSuchMethod, "noSuchMethod") \ 55 V(NoSuchMethod, "noSuchMethod") \
55 V(SavedCurrentContextVar, ":saved_current_context_var") \ 56 V(SavedCurrentContextVar, ":saved_current_context_var") \
56 V(SavedEntryContextVar, ":saved_entry_context_var") \ 57 V(SavedEntryContextVar, ":saved_entry_context_var") \
57 V(SavedTryContextVar, ":saved_try_context_var") \ 58 V(SavedTryContextVar, ":saved_try_context_var") \
58 V(ExceptionVar, ":exception_var") \ 59 V(ExceptionVar, ":exception_var") \
59 V(StacktraceVar, ":stacktrace_var") \ 60 V(StacktraceVar, ":stacktrace_var") \
60 V(ListLiteralElement, "list literal element") \ 61 V(ListLiteralElement, "list literal element") \
61 V(ForInIter, ":for-in-iter") \ 62 V(ForInIter, ":for-in-iter") \
62 V(ClosureFunctionField, ":function") \ 63 V(ClosureFunctionField, ":function") \
63 V(ClosureContextField, ":context") \ 64 V(ClosureContextField, ":context") \
65 V(ClosureCompareFunction, "_Closure_comparison") \
66 V(ClosureHashCodeFunction, "_Closure_hashCode") \
64 V(Library, "library") \ 67 V(Library, "library") \
65 V(Import, "import") \ 68 V(Import, "import") \
66 V(Source, "source") \ 69 V(Source, "source") \
67 V(Class, "Class") \ 70 V(Class, "Class") \
68 V(Null, "Null") \ 71 V(Null, "Null") \
69 V(Dynamic, "dynamic") \ 72 V(Dynamic, "dynamic") \
70 V(Void, "void") \ 73 V(Void, "void") \
71 V(UnresolvedClass, "UnresolvedClass") \ 74 V(UnresolvedClass, "UnresolvedClass") \
72 V(Type, "_Type") \ 75 V(Type, "_Type") \
73 V(TypeParameter, "_TypeParameter") \ 76 V(TypeParameter, "_TypeParameter") \
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 friend class SnapshotReader; 483 friend class SnapshotReader;
481 friend class SnapshotWriter; 484 friend class SnapshotWriter;
482 friend class ApiMessageReader; 485 friend class ApiMessageReader;
483 486
484 DISALLOW_COPY_AND_ASSIGN(Symbols); 487 DISALLOW_COPY_AND_ASSIGN(Symbols);
485 }; 488 };
486 489
487 } // namespace dart 490 } // namespace dart
488 491
489 #endif // VM_SYMBOLS_H_ 492 #endif // VM_SYMBOLS_H_
OLDNEW
« runtime/vm/object.cc ('K') | « runtime/vm/parser.cc ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698