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

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

Issue 1342213003: Add optional message to assert in Dart2js - continued (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add --assert-message flag 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
« no previous file with comments | « pkg/compiler/lib/src/commandline_options.dart ('k') | pkg/compiler/lib/src/common/codegen.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 library dart2js.backend_api; 5 library dart2js.backend_api;
6 6
7 import 'dart:async' show Future; 7 import 'dart:async' show Future;
8 8
9 import '../compiler.dart' show 9 import '../compiler.dart' show
10 Compiler; 10 Compiler;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 /// Register an is check to the backend. 160 /// Register an is check to the backend.
161 void registerIsCheckForCodegen(DartType type, 161 void registerIsCheckForCodegen(DartType type,
162 Enqueuer enqueuer, 162 Enqueuer enqueuer,
163 Registry registry) {} 163 Registry registry) {}
164 164
165 /// Register a runtime type variable bound tests between [typeArgument] and 165 /// Register a runtime type variable bound tests between [typeArgument] and
166 /// [bound]. 166 /// [bound].
167 void registerTypeVariableBoundsSubtypeCheck(DartType typeArgument, 167 void registerTypeVariableBoundsSubtypeCheck(DartType typeArgument,
168 DartType bound) {} 168 DartType bound) {}
169 169
170 /// Returns `true` if [element] represent the assert function.
171 bool isAssertMethod(Element element) => false;
172
173 /** 170 /**
174 * Call this to register that an instantiated generic class has a call 171 * Call this to register that an instantiated generic class has a call
175 * method. 172 * method.
176 */ 173 */
177 void registerCallMethodWithFreeTypeVariables( 174 void registerCallMethodWithFreeTypeVariables(
178 Element callMethod, 175 Element callMethod,
179 Enqueuer enqueuer, 176 Enqueuer enqueuer,
180 Registry registry) {} 177 Registry registry) {}
181 178
182 /** 179 /**
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 358
362 void forgetElement(Element element) {} 359 void forgetElement(Element element) {}
363 360
364 void registerMainHasArguments(Enqueuer enqueuer) {} 361 void registerMainHasArguments(Enqueuer enqueuer) {}
365 362
366 void registerAsyncMarker(FunctionElement element, 363 void registerAsyncMarker(FunctionElement element,
367 Enqueuer enqueuer, 364 Enqueuer enqueuer,
368 Registry registry) {} 365 Registry registry) {}
369 } 366 }
370 367
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/commandline_options.dart ('k') | pkg/compiler/lib/src/common/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698