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

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

Issue 190753004: - Ensure that all names in local scopes are symbols. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 9 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/scopes.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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 V(_LocalIsolateMirror, "_LocalIsolateMirror") \ 302 V(_LocalIsolateMirror, "_LocalIsolateMirror") \
303 V(_LocalMirrorSystem, "_LocalMirrorSystem") \ 303 V(_LocalMirrorSystem, "_LocalMirrorSystem") \
304 V(_LocalTypedefMirror, "_LocalTypedefMirror") \ 304 V(_LocalTypedefMirror, "_LocalTypedefMirror") \
305 V(_LocalTypeVariableMirror, "_LocalTypeVariableMirror") \ 305 V(_LocalTypeVariableMirror, "_LocalTypeVariableMirror") \
306 V(hashCode, "get:hashCode") \ 306 V(hashCode, "get:hashCode") \
307 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ 307 V(_leftShiftWithMask32, "_leftShiftWithMask32") \
308 V(OptimizedOut, "<optimized out>") \ 308 V(OptimizedOut, "<optimized out>") \
309 V(NotInitialized, "<not initialized>") \ 309 V(NotInitialized, "<not initialized>") \
310 V(ClassId, "get:_classId") \ 310 V(ClassId, "get:_classId") \
311 V(AllocationStubFor, "Allocation stub for ") \ 311 V(AllocationStubFor, "Allocation stub for ") \
312 V(TempParam, ":temp_param") \
312 313
313 314
314 // Contains a list of frequently used strings in a canonicalized form. This 315 // Contains a list of frequently used strings in a canonicalized form. This
315 // list is kept in the vm_isolate in order to share the copy across isolates 316 // list is kept in the vm_isolate in order to share the copy across isolates
316 // without having to maintain copies in each isolate. 317 // without having to maintain copies in each isolate.
317 class Symbols : public AllStatic { 318 class Symbols : public AllStatic {
318 public: 319 public:
319 enum { kMaxOneCharCodeSymbol = 0xFF }; 320 enum { kMaxOneCharCodeSymbol = 0xFF };
320 321
321 // List of strings that are pre created in the vm isolate. 322 // List of strings that are pre created in the vm isolate.
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 friend class SnapshotReader; 521 friend class SnapshotReader;
521 friend class SnapshotWriter; 522 friend class SnapshotWriter;
522 friend class ApiMessageReader; 523 friend class ApiMessageReader;
523 524
524 DISALLOW_COPY_AND_ASSIGN(Symbols); 525 DISALLOW_COPY_AND_ASSIGN(Symbols);
525 }; 526 };
526 527
527 } // namespace dart 528 } // namespace dart
528 529
529 #endif // VM_SYMBOLS_H_ 530 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/scopes.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698