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

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

Issue 764593002: Invoking constructors in js cps (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 years 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
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/codegen.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // Tests for basic functionality. 5 // Tests for basic functionality.
6 6
7 library basic_tests; 7 library basic_tests;
8 8
9 import 'js_backend_cps_ir_test.dart'; 9 import 'js_backend_cps_ir_test.dart';
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 """, 67 """,
68 """function() { 68 """function() {
69 return V.foo(); 69 return V.foo();
70 }"""), 70 }"""),
71 const TestEntry("main() {}"), 71 const TestEntry("main() {}"),
72 const TestEntry("main() { return 42; }"), 72 const TestEntry("main() { return 42; }"),
73 const TestEntry("main() { return; }", """ 73 const TestEntry("main() { return; }", """
74 function() { 74 function() {
75 return null; 75 return null;
76 }"""), 76 }"""),
77 const TestEntry("""
78 main() {
79 print(new Set());
80 print(new Set.from([1, 2, 3]));
81 }""", r"""
82 function() {
83 P.print(P.Set_Set());
84 P.print(P.Set_Set$from([1, 2, 3]));
85 return null;
86 }"""),
77 ]; 87 ];
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/codegen.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698