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

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

Issue 2314133003: AOT: Use a cid range check when possible to implement type tests. (Closed)
Patch Set: symbols Created 4 years, 3 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
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/thread.h » ('j') | 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/growable_array.h" 8 #include "vm/growable_array.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/snapshot_ids.h" 10 #include "vm/snapshot_ids.h"
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 V(print, "print") \ 391 V(print, "print") \
392 V(last, "last") \ 392 V(last, "last") \
393 V(removeLast, "removeLast") \ 393 V(removeLast, "removeLast") \
394 V(add, "add") \ 394 V(add, "add") \
395 V(ConstructorClosurePrefix, "new#") \ 395 V(ConstructorClosurePrefix, "new#") \
396 V(_runExtension, "_runExtension") \ 396 V(_runExtension, "_runExtension") \
397 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ 397 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \
398 V(DartLibrary, "dart.library.") \ 398 V(DartLibrary, "dart.library.") \
399 V(DartLibraryMirrors, "dart.library.mirrors") \ 399 V(DartLibraryMirrors, "dart.library.mirrors") \
400 V(_name, "_name") \ 400 V(_name, "_name") \
401 V(_classRangeCheck, "_classRangeCheck") \
402 V(_classRangeCheckNegative, "_classRangeCheckNegative") \
401 403
402 404
403 // Contains a list of frequently used strings in a canonicalized form. This 405 // Contains a list of frequently used strings in a canonicalized form. This
404 // list is kept in the vm_isolate in order to share the copy across isolates 406 // list is kept in the vm_isolate in order to share the copy across isolates
405 // without having to maintain copies in each isolate. 407 // without having to maintain copies in each isolate.
406 class Symbols : public AllStatic { 408 class Symbols : public AllStatic {
407 public: 409 public:
408 enum { kMaxOneCharCodeSymbol = 0xFF }; 410 enum { kMaxOneCharCodeSymbol = 0xFF };
409 411
410 // List of strings that are pre created in the vm isolate. 412 // List of strings that are pre created in the vm isolate.
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 friend class Serializer; 686 friend class Serializer;
685 friend class Deserializer; 687 friend class Deserializer;
686 friend class ApiMessageReader; 688 friend class ApiMessageReader;
687 689
688 DISALLOW_COPY_AND_ASSIGN(Symbols); 690 DISALLOW_COPY_AND_ASSIGN(Symbols);
689 }; 691 };
690 692
691 } // namespace dart 693 } // namespace dart
692 694
693 #endif // VM_SYMBOLS_H_ 695 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698