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

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

Issue 2511883002: VM: [Kernel] Relax assertion in Script::GetTokenLocation(). (Closed)
Patch Set: Created 4 years, 1 month 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
« runtime/vm/kernel_reader.cc ('K') | « 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 RUNTIME_VM_SYMBOLS_H_ 5 #ifndef RUNTIME_VM_SYMBOLS_H_
6 #define RUNTIME_VM_SYMBOLS_H_ 6 #define RUNTIME_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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 V(add, "add") \ 399 V(add, "add") \
400 V(ConstructorClosurePrefix, "new#") \ 400 V(ConstructorClosurePrefix, "new#") \
401 V(_runExtension, "_runExtension") \ 401 V(_runExtension, "_runExtension") \
402 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ 402 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \
403 V(DartLibrary, "dart.library.") \ 403 V(DartLibrary, "dart.library.") \
404 V(DartLibraryMirrors, "dart.library.mirrors") \ 404 V(DartLibraryMirrors, "dart.library.mirrors") \
405 V(_name, "_name") \ 405 V(_name, "_name") \
406 V(_classRangeCheck, "_classRangeCheck") \ 406 V(_classRangeCheck, "_classRangeCheck") \
407 V(_classRangeCheckNegative, "_classRangeCheckNegative") \ 407 V(_classRangeCheckNegative, "_classRangeCheckNegative") \
408 V(GetRuntimeType, "get:runtimeType") \ 408 V(GetRuntimeType, "get:runtimeType") \
409 V(HaveSameRuntimeType, "_haveSameRuntimeType") 409 V(HaveSameRuntimeType, "_haveSameRuntimeType") \
410 V(KernelScriptUri, "kernel:script")
410 411
411 412
412 // Contains a list of frequently used strings in a canonicalized form. This 413 // Contains a list of frequently used strings in a canonicalized form. This
413 // list is kept in the vm_isolate in order to share the copy across isolates 414 // list is kept in the vm_isolate in order to share the copy across isolates
414 // without having to maintain copies in each isolate. 415 // without having to maintain copies in each isolate.
415 class Symbols : public AllStatic { 416 class Symbols : public AllStatic {
416 public: 417 public:
417 enum { kMaxOneCharCodeSymbol = 0xFF }; 418 enum { kMaxOneCharCodeSymbol = 0xFF };
418 419
419 // List of strings that are pre created in the vm isolate. 420 // List of strings that are pre created in the vm isolate.
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 friend class Serializer; 668 friend class Serializer;
668 friend class Deserializer; 669 friend class Deserializer;
669 friend class ApiMessageReader; 670 friend class ApiMessageReader;
670 671
671 DISALLOW_COPY_AND_ASSIGN(Symbols); 672 DISALLOW_COPY_AND_ASSIGN(Symbols);
672 }; 673 };
673 674
674 } // namespace dart 675 } // namespace dart
675 676
676 #endif // RUNTIME_VM_SYMBOLS_H_ 677 #endif // RUNTIME_VM_SYMBOLS_H_
OLDNEW
« runtime/vm/kernel_reader.cc ('K') | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698