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

Side by Side Diff: tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart

Issue 918653002: Propagate pseudo-constants expressions separately in tree rewriter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 5 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 | Annotate | Revision Log
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 // VMOptions=-DUSE_CPS_IR=true 4 // VMOptions=-DUSE_CPS_IR=true
5 5
6 // Tests of interceptors. 6 // Tests of interceptors.
7 7
8 library constructor_test; 8 library constructor_test;
9 9
10 import 'js_backend_cps_ir.dart'; 10 import 'js_backend_cps_ir.dart';
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } 152 }
153 class Foo extends Bar { 153 class Foo extends Bar {
154 Foo() : super('x', y: 'y', w: 'w'); 154 Foo() : super('x', y: 'y', w: 'w');
155 } 155 }
156 main() { 156 main() {
157 new Foo(); 157 new Foo();
158 } 158 }
159 """, 159 """,
160 r""" 160 r"""
161 function() { 161 function() {
162 var x, y, w, z, q, v0; 162 var v0;
163 x = "x";
164 y = "y";
165 w = "w";
166 z = "z";
167 q = null;
168 v0 = new V.Foo(); 163 v0 = new V.Foo();
169 v0.Bar$5$q$w$y$z(x, q, w, y, z); 164 v0.Bar$5$q$w$y$z("x", null, "w", "y", "z");
170 return v0; 165 return v0;
171 }"""), 166 }"""),
172 ]; 167 ];
173 168
174 void main() { 169 void main() {
175 runTests(tests); 170 runTests(tests);
176 } 171 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698