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

Side by Side Diff: pkg/compiler/lib/src/common/registry.dart

Issue 1325843003: Add optional message to assert in Dart2js. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Reintroduce assertHelper for asserts without messages. Created 5 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
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 library dart2js.common.registry; 5 library dart2js.common.registry;
6 6
7 import '../dart_types.dart' show 7 import '../dart_types.dart' show
8 InterfaceType; 8 InterfaceType;
9 import '../elements/elements.dart' show 9 import '../elements/elements.dart' show
10 Element, 10 Element,
(...skipping 15 matching lines...) Expand all
26 26
27 void registerDynamicGetter(UniverseSelector selector); 27 void registerDynamicGetter(UniverseSelector selector);
28 28
29 void registerDynamicSetter(UniverseSelector selector); 29 void registerDynamicSetter(UniverseSelector selector);
30 30
31 void registerStaticInvocation(Element element); 31 void registerStaticInvocation(Element element);
32 32
33 void registerInstantiation(InterfaceType type); 33 void registerInstantiation(InterfaceType type);
34 34
35 void registerGetOfStaticFunction(FunctionElement element); 35 void registerGetOfStaticFunction(FunctionElement element);
36
37 void registerAssert(bool hasMessage);
36 } 38 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698