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

Side by Side Diff: pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart

Issue 1175973005: dart2js cps: Introduce some built-in operators in type propagation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Status files Created 5 years, 6 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 tree_ir.optimization.pull_into_initializers; 5 library tree_ir.optimization.pull_into_initializers;
6 6
7 import 'optimization.dart' show Pass; 7 import 'optimization.dart' show Pass;
8 import '../tree_ir_nodes.dart'; 8 import '../tree_ir_nodes.dart';
9 9
10 /// Pulls assignment expressions to the top of the function body so they can be 10 /// Pulls assignment expressions to the top of the function body so they can be
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 } 318 }
319 319
320 Expression visitVariableUse(VariableUse node) { 320 Expression visitVariableUse(VariableUse node) {
321 return node; 321 return node;
322 } 322 }
323 323
324 Expression visitCreateInvocationMirror(CreateInvocationMirror node) { 324 Expression visitCreateInvocationMirror(CreateInvocationMirror node) {
325 rewriteList(node.arguments); 325 rewriteList(node.arguments);
326 return node; 326 return node;
327 } 327 }
328
329 Expression visitApplyBuiltinOperator(ApplyBuiltinOperator node) {
330 rewriteList(node.arguments);
331 return node;
332 }
328 } 333 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698