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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/ir/ir_nodes.dart

Issue 318723002: dart2dart: Restore loops with conditions and updates in backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: For loops and update expressions Created 6 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 | Annotate | Revision Log
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 // IrNodes are kept in a separate library to have precise control over their 5 // IrNodes are kept in a separate library to have precise control over their
6 // dependencies on other parts of the system. 6 // dependencies on other parts of the system.
7 library dart2js.ir_nodes; 7 library dart2js.ir_nodes;
8 8
9 import '../dart2jslib.dart' as dart2js show Constant; 9 import '../dart2jslib.dart' as dart2js show Constant;
10 import '../elements/elements.dart' 10 import '../elements/elements.dart'
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 String visitContinuation(Continuation node) { 494 String visitContinuation(Continuation node) {
495 // Continuations are visited directly in visitLetCont. 495 // Continuations are visited directly in visitLetCont.
496 return '(Unexpected Continuation)'; 496 return '(Unexpected Continuation)';
497 } 497 }
498 498
499 String visitIsTrue(IsTrue node) { 499 String visitIsTrue(IsTrue node) {
500 String value = names[node.value.definition]; 500 String value = names[node.value.definition];
501 return '(IsTrue $value)'; 501 return '(IsTrue $value)';
502 } 502 }
503 } 503 }
504
Kevin Millikin (Google) 2014/06/10 11:08:31 Inadvertent change?
asgerf 2014/06/10 12:02:21 Reverted.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698