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

Side by Side Diff: pkg/compiler/lib/src/ssa/ssa_tracer.dart

Issue 1284593003: Remove dart2jslib.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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/ssa/ssa.dart ('k') | pkg/compiler/lib/src/tracer.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 ssa.tracer; 5 library ssa.tracer;
6 6
7 import 'dart:async' show EventSink; 7 import 'dart:async' show EventSink;
8 8
9 import 'ssa.dart'; 9 import 'ssa.dart';
10 import '../compiler.dart' show Compiler;
11 import '../diagnostics/invariant.dart' show DEBUG_MODE;
10 import '../js_backend/js_backend.dart'; 12 import '../js_backend/js_backend.dart';
11 import '../dart2jslib.dart';
12 import '../tracer.dart'; 13 import '../tracer.dart';
13 14
14 /** 15 /**
15 * Outputs SSA code in a format readable by Hydra IR. 16 * Outputs SSA code in a format readable by Hydra IR.
16 * Tracing is disabled by default, see ../tracer.dart for how 17 * Tracing is disabled by default, see ../tracer.dart for how
17 * to enable it. 18 * to enable it.
18 */ 19 */
19 class HTracer extends HGraphVisitor with TracerUtil { 20 class HTracer extends HGraphVisitor with TracerUtil {
20 Compiler compiler; 21 Compiler compiler;
21 JavaScriptItemCompilationContext context; 22 JavaScriptItemCompilationContext context;
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 } 528 }
528 529
529 String visitAwait(HAwait node) { 530 String visitAwait(HAwait node) {
530 return "await ${temporaryId(node.inputs[0])}"; 531 return "await ${temporaryId(node.inputs[0])}";
531 } 532 }
532 533
533 String visitYield(HYield node) { 534 String visitYield(HYield node) {
534 return "yield${node.hasStar ? "*" : ""} ${temporaryId(node.inputs[0])}"; 535 return "yield${node.hasStar ? "*" : ""} ${temporaryId(node.inputs[0])}";
535 } 536 }
536 } 537 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/ssa.dart ('k') | pkg/compiler/lib/src/tracer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698