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

Side by Side Diff: pkg/compiler/lib/src/helpers/helpers.dart

Issue 690103004: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 for debugging helpers. The unittest analyze_unused_test checks that 5 /// Library for debugging helpers. The unittest analyze_unused_test checks that
6 /// the helper are not used in production code. 6 /// the helper are not used in production code.
7 7
8 library dart2js.helpers; 8 library dart2js.helpers;
9 9
10 import 'dart:async' show EventSink; 10 import 'dart:async' show EventSink;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ReportHere get reportHere { 86 ReportHere get reportHere {
87 enableDebugMode(); 87 enableDebugMode();
88 return _reportHere; 88 return _reportHere;
89 } 89 }
90 90
91 /// Implementation of [reportHere] 91 /// Implementation of [reportHere]
92 _reportHere(Compiler compiler, Spannable node, String debugMessage) { 92 _reportHere(Compiler compiler, Spannable node, String debugMessage) {
93 compiler.reportInfo(node, 93 compiler.reportInfo(node,
94 MessageKind.GENERIC, {'text': 'HERE: $debugMessage'}); 94 MessageKind.GENERIC, {'text': 'HERE: $debugMessage'});
95 } 95 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/helpers/expensive_set.dart ('k') | pkg/compiler/lib/src/helpers/stats.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698