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

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

Issue 10831142: Associate the correct type to method receivers (instead of Dynamic type). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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
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(IndexToken, "[]") \ 18 V(IndexToken, "[]") \
19 V(AssignIndexToken, "[]=") \ 19 V(AssignIndexToken, "[]=") \
20 V(TopLevel, "::") \ 20 V(TopLevel, "::") \
21 V(Empty, "") \ 21 V(Empty, "") \
22 V(This, "this") \ 22 V(This, "this") \
23 V(HasNext, "hasNext") \ 23 V(HasNext, "hasNext") \
24 V(Next, "next") \ 24 V(Next, "next") \
25 V(Value, "value") \ 25 V(Value, "value") \
26 V(ExprTemp, ":expr_temp") \ 26 V(ExprTemp, ":expr_temp") \
27 V(Function, "function") \ 27 V(Function, "function") \
28 V(PhaseParameter, ":phase") \ 28 V(PhaseParameter, ":phase") \
29 V(TypeArgumentsParameter, ":type_arguments") \
29 V(AssertionError, "AssertionError") \ 30 V(AssertionError, "AssertionError") \
30 V(TypeError, "TypeError") \ 31 V(TypeError, "TypeError") \
31 V(FallThroughError, "FallThroughError") \ 32 V(FallThroughError, "FallThroughError") \
32 V(StaticResolutionException, "StaticResolutionException") \ 33 V(StaticResolutionException, "StaticResolutionException") \
33 V(ThrowNew, "_throwNew") \ 34 V(ThrowNew, "_throwNew") \
34 V(ListLiteralFactoryClass, "_ListLiteralFactory") \ 35 V(ListLiteralFactoryClass, "_ListLiteralFactory") \
35 V(ListLiteralFactory, "List.fromLiteral") \ 36 V(ListLiteralFactory, "List.fromLiteral") \
36 V(MapLiteralFactoryClass, "_MapLiteralFactory") \ 37 V(MapLiteralFactoryClass, "_MapLiteralFactory") \
37 V(MapLiteralFactory, "Map.fromLiteral") \ 38 V(MapLiteralFactory, "Map.fromLiteral") \
38 V(ImmutableMap, "ImmutableMap") \ 39 V(ImmutableMap, "ImmutableMap") \
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 static RawString* predefined_[kMaxPredefined]; 128 static RawString* predefined_[kMaxPredefined];
128 129
129 friend class SnapshotReader; 130 friend class SnapshotReader;
130 131
131 DISALLOW_COPY_AND_ASSIGN(Symbols); 132 DISALLOW_COPY_AND_ASSIGN(Symbols);
132 }; 133 };
133 134
134 } // namespace dart 135 } // namespace dart
135 136
136 #endif // VM_SYMBOLS_H_ 137 #endif // VM_SYMBOLS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698