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

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

Issue 11968022: Lookup functions by name that contains the private key, except for dart_api which allows ignoring t… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 | « runtime/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 #include "vm/snapshot_ids.h" 9 #include "vm/snapshot_ids.h"
10 10
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 V(MegamorphicMiss, "megamorphic_miss") \ 181 V(MegamorphicMiss, "megamorphic_miss") \
182 V(CommaSpace, ", ") \ 182 V(CommaSpace, ", ") \
183 V(ColonSpace, ": ") \ 183 V(ColonSpace, ": ") \
184 V(RParenArrow, ") => ") \ 184 V(RParenArrow, ") => ") \
185 V(SpaceExtendsSpace, " extends ") \ 185 V(SpaceExtendsSpace, " extends ") \
186 V(PatchSpace, "patch ") \ 186 V(PatchSpace, "patch ") \
187 V(AliasOwner, ":alias_owner") \ 187 V(AliasOwner, ":alias_owner") \
188 V(SwitchExpr, ":switch_expr") \ 188 V(SwitchExpr, ":switch_expr") \
189 V(TwoNewlines, "\n\n") \ 189 V(TwoNewlines, "\n\n") \
190 V(TwoSpaces, " ") \ 190 V(TwoSpaces, " ") \
191 V(_instanceOf, "_instanceOf") \
192 V(PrivateGetterPrefix, "get:_") \
193 V(PrivateSetterPrefix, "set:_") \
191 194
192 // Contains a list of frequently used strings in a canonicalized form. This 195 // Contains a list of frequently used strings in a canonicalized form. This
193 // list is kept in the vm_isolate in order to share the copy across isolates 196 // list is kept in the vm_isolate in order to share the copy across isolates
194 // without having to maintain copies in each isolate. 197 // without having to maintain copies in each isolate.
195 class Symbols : public AllStatic { 198 class Symbols : public AllStatic {
196 public: 199 public:
197 enum { kMaxOneCharCodeSymbol = 0xFF }; 200 enum { kMaxOneCharCodeSymbol = 0xFF };
198 201
199 // List of strings that are pre created in the vm isolate. 202 // List of strings that are pre created in the vm isolate.
200 enum SymbolId { 203 enum SymbolId {
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 friend class SnapshotReader; 376 friend class SnapshotReader;
374 friend class SnapshotWriter; 377 friend class SnapshotWriter;
375 friend class ApiMessageReader; 378 friend class ApiMessageReader;
376 379
377 DISALLOW_COPY_AND_ASSIGN(Symbols); 380 DISALLOW_COPY_AND_ASSIGN(Symbols);
378 }; 381 };
379 382
380 } // namespace dart 383 } // namespace dart
381 384
382 #endif // VM_SYMBOLS_H_ 385 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698