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

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

Issue 351673002: Add class id constants fields to dart:_internal class 'ClassID'. Use the fields in the library (mor… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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/object.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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 V(_LocalParameterMirror, "_LocalParameterMirror") \ 309 V(_LocalParameterMirror, "_LocalParameterMirror") \
310 V(_LocalIsolateMirror, "_LocalIsolateMirror") \ 310 V(_LocalIsolateMirror, "_LocalIsolateMirror") \
311 V(_LocalMirrorSystem, "_LocalMirrorSystem") \ 311 V(_LocalMirrorSystem, "_LocalMirrorSystem") \
312 V(_LocalTypedefMirror, "_LocalTypedefMirror") \ 312 V(_LocalTypedefMirror, "_LocalTypedefMirror") \
313 V(_LocalTypeVariableMirror, "_LocalTypeVariableMirror") \ 313 V(_LocalTypeVariableMirror, "_LocalTypeVariableMirror") \
314 V(_SourceLocation, "_SourceLocation") \ 314 V(_SourceLocation, "_SourceLocation") \
315 V(hashCode, "get:hashCode") \ 315 V(hashCode, "get:hashCode") \
316 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ 316 V(_leftShiftWithMask32, "_leftShiftWithMask32") \
317 V(OptimizedOut, "<optimized out>") \ 317 V(OptimizedOut, "<optimized out>") \
318 V(NotInitialized, "<not initialized>") \ 318 V(NotInitialized, "<not initialized>") \
319 V(ClassId, "get:_classId") \
Florian Schneider 2014/06/24 09:38:59 Another example of a change that changes the snaps
320 V(AllocationStubFor, "Allocation stub for ") \ 319 V(AllocationStubFor, "Allocation stub for ") \
321 V(TempParam, ":temp_param") \ 320 V(TempParam, ":temp_param") \
322 V(UserTag, "UserTag") \ 321 V(UserTag, "UserTag") \
323 V(_UserTag, "_UserTag") \ 322 V(_UserTag, "_UserTag") \
324 V(Default, "Default") \ 323 V(Default, "Default") \
325 V(StubPrefix, "[Stub] ") \ 324 V(StubPrefix, "[Stub] ") \
325 V(ClassID, "ClassID") \
326 326
327 327
328 // Contains a list of frequently used strings in a canonicalized form. This 328 // Contains a list of frequently used strings in a canonicalized form. This
329 // list is kept in the vm_isolate in order to share the copy across isolates 329 // list is kept in the vm_isolate in order to share the copy across isolates
330 // without having to maintain copies in each isolate. 330 // without having to maintain copies in each isolate.
331 class Symbols : public AllStatic { 331 class Symbols : public AllStatic {
332 public: 332 public:
333 enum { kMaxOneCharCodeSymbol = 0xFF }; 333 enum { kMaxOneCharCodeSymbol = 0xFF };
334 334
335 // List of strings that are pre created in the vm isolate. 335 // List of strings that are pre created in the vm isolate.
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 friend class SnapshotReader; 537 friend class SnapshotReader;
538 friend class SnapshotWriter; 538 friend class SnapshotWriter;
539 friend class ApiMessageReader; 539 friend class ApiMessageReader;
540 540
541 DISALLOW_COPY_AND_ASSIGN(Symbols); 541 DISALLOW_COPY_AND_ASSIGN(Symbols);
542 }; 542 };
543 543
544 } // namespace dart 544 } // namespace dart
545 545
546 #endif // VM_SYMBOLS_H_ 546 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698