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

Side by Side Diff: vm/symbols.h

Issue 10826191: Improve the stack trace output to be more readable. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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
« no previous file with comments | « vm/parser.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9
10 namespace dart { 10 namespace dart {
11 11
12 // Forward declarations. 12 // Forward declarations.
13 class Isolate; 13 class Isolate;
14 class ObjectPointerVisitor; 14 class ObjectPointerVisitor;
15 15
16 #define PREDEFINED_SYMBOLS_LIST(V) \ 16 #define PREDEFINED_SYMBOLS_LIST(V) \
17 V(Dot, ".") \ 17 V(Dot, ".") \
18 V(Equals, "=") \
18 V(IndexToken, "[]") \ 19 V(IndexToken, "[]") \
19 V(AssignIndexToken, "[]=") \ 20 V(AssignIndexToken, "[]=") \
20 V(TopLevel, "::") \ 21 V(TopLevel, "::") \
21 V(Empty, "") \ 22 V(Empty, "") \
22 V(This, "this") \ 23 V(This, "this") \
23 V(HasNext, "hasNext") \ 24 V(HasNext, "hasNext") \
24 V(Next, "next") \ 25 V(Next, "next") \
25 V(Value, "value") \ 26 V(Value, "value") \
26 V(ExprTemp, ":expr_temp") \ 27 V(ExprTemp, ":expr_temp") \
27 V(Function, "function") \ 28 V(AnonymousClosure, "<anonymous closure>") \
28 V(PhaseParameter, ":phase") \ 29 V(PhaseParameter, ":phase") \
29 V(TypeArgumentsParameter, ":type_arguments") \ 30 V(TypeArgumentsParameter, ":type_arguments") \
30 V(AssertionError, "AssertionError") \ 31 V(AssertionError, "AssertionError") \
31 V(TypeError, "TypeError") \ 32 V(TypeError, "TypeError") \
32 V(FallThroughError, "FallThroughError") \ 33 V(FallThroughError, "FallThroughError") \
33 V(StaticResolutionException, "StaticResolutionException") \ 34 V(StaticResolutionException, "StaticResolutionException") \
34 V(ThrowNew, "_throwNew") \ 35 V(ThrowNew, "_throwNew") \
35 V(ListLiteralFactoryClass, "_ListLiteralFactory") \ 36 V(ListLiteralFactoryClass, "_ListLiteralFactory") \
36 V(ListLiteralFactory, "List.fromLiteral") \ 37 V(ListLiteralFactory, "List.fromLiteral") \
37 V(MapLiteralFactoryClass, "_MapLiteralFactory") \ 38 V(MapLiteralFactoryClass, "_MapLiteralFactory") \
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 friend class SnapshotReader; 137 friend class SnapshotReader;
137 friend class SnapshotWriter; 138 friend class SnapshotWriter;
138 friend class ApiMessageReader; 139 friend class ApiMessageReader;
139 140
140 DISALLOW_COPY_AND_ASSIGN(Symbols); 141 DISALLOW_COPY_AND_ASSIGN(Symbols);
141 }; 142 };
142 143
143 } // namespace dart 144 } // namespace dart
144 145
145 #endif // VM_SYMBOLS_H_ 146 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « vm/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698