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

Side by Side Diff: pkg/compiler/lib/src/cps_ir/path_based_optimizer.dart

Issue 1709623002: dart2js cps: Rename duplicate_branch.dart to match the new pass name. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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/cps_ir/optimizers.dart ('k') | no next file » | 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 library dart2js.cps_ir.duplicate_branch; // FIXME: Rename file. 4 library dart2js.cps_ir.path_based_optimizer;
5 5
6 import 'cps_ir_nodes.dart'; 6 import 'cps_ir_nodes.dart';
7 import 'optimizers.dart'; 7 import 'optimizers.dart';
8 import 'cps_fragment.dart'; 8 import 'cps_fragment.dart';
9 import '../js_backend/js_backend.dart'; 9 import '../js_backend/js_backend.dart';
10 import '../constants/values.dart'; 10 import '../constants/values.dart';
11 import '../elements/elements.dart'; 11 import '../elements/elements.dart';
12 import '../universe/selector.dart'; 12 import '../universe/selector.dart';
13 import '../types/types.dart'; 13 import '../types/types.dart';
14 import 'type_mask_system.dart'; 14 import 'type_mask_system.dart';
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 node.selector)) { 175 node.selector)) {
176 Constant dummy = new Constant(new IntConstantValue(0)) 176 Constant dummy = new Constant(new IntConstantValue(0))
177 ..type = typeSystem.intType; 177 ..type = typeSystem.intType;
178 new LetPrim(dummy).insertAbove(node.parent); 178 new LetPrim(dummy).insertAbove(node.parent);
179 node.arguments[0].changeTo(dummy); 179 node.arguments[0].changeTo(dummy);
180 node.callingConvention = CallingConvention.DummyIntercepted; 180 node.callingConvention = CallingConvention.DummyIntercepted;
181 } 181 }
182 } 182 }
183 } 183 }
184 } 184 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/optimizers.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698