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

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

Issue 2564623003: Add optional message argument to assert statements in the VM. (Closed)
Patch Set: Created 4 years 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/parser.cc ('k') | sdk/lib/core/errors.dart » ('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 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 V(CastError, "_CastError") \ 69 V(CastError, "_CastError") \
70 V(TypeError, "_TypeError") \ 70 V(TypeError, "_TypeError") \
71 V(FallThroughError, "FallThroughError") \ 71 V(FallThroughError, "FallThroughError") \
72 V(AbstractClassInstantiationError, "AbstractClassInstantiationError") \ 72 V(AbstractClassInstantiationError, "AbstractClassInstantiationError") \
73 V(NoSuchMethodError, "NoSuchMethodError") \ 73 V(NoSuchMethodError, "NoSuchMethodError") \
74 V(CyclicInitializationError, "CyclicInitializationError") \ 74 V(CyclicInitializationError, "CyclicInitializationError") \
75 V(_CompileTimeError, "_CompileTimeError") \ 75 V(_CompileTimeError, "_CompileTimeError") \
76 V(ThrowNew, "_throwNew") \ 76 V(ThrowNew, "_throwNew") \
77 V(ThrowNewIfNotLoaded, "_throwNewIfNotLoaded") \ 77 V(ThrowNewIfNotLoaded, "_throwNewIfNotLoaded") \
78 V(CheckAssertion, "_checkAssertion") \ 78 V(CheckAssertion, "_checkAssertion") \
79 V(CheckConstAssertion, "_checkConstAssertion") \
80 V(Symbol, "Symbol") \ 79 V(Symbol, "Symbol") \
81 V(SymbolCtor, "Symbol.") \ 80 V(SymbolCtor, "Symbol.") \
82 V(List, "List") \ 81 V(List, "List") \
83 V(ListLiteralFactory, "List._fromLiteral") \ 82 V(ListLiteralFactory, "List._fromLiteral") \
84 V(ListFactory, "List.") \ 83 V(ListFactory, "List.") \
85 V(Map, "Map") \ 84 V(Map, "Map") \
86 V(MapLiteralFactory, "Map._fromLiteral") \ 85 V(MapLiteralFactory, "Map._fromLiteral") \
87 V(ImmutableMap, "ImmutableMap") \ 86 V(ImmutableMap, "ImmutableMap") \
88 V(ImmutableMapConstructor, "ImmutableMap._create") \ 87 V(ImmutableMapConstructor, "ImmutableMap._create") \
89 V(StringBase, "_StringBase") \ 88 V(StringBase, "_StringBase") \
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 friend class Serializer; 664 friend class Serializer;
666 friend class Deserializer; 665 friend class Deserializer;
667 friend class ApiMessageReader; 666 friend class ApiMessageReader;
668 667
669 DISALLOW_COPY_AND_ASSIGN(Symbols); 668 DISALLOW_COPY_AND_ASSIGN(Symbols);
670 }; 669 };
671 670
672 } // namespace dart 671 } // namespace dart
673 672
674 #endif // RUNTIME_VM_SYMBOLS_H_ 673 #endif // RUNTIME_VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | sdk/lib/core/errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698