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

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

Issue 1089793002: Add a command line option to use the new CPS based backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update comment. Created 5 years, 8 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
« no previous file with comments | « tests/compiler/dart2js/js_backend_cps_ir_source_information_test.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 // VMOptions=-DUSE_CPS_IR=true
5 4
6 // Tests of interceptors. 5 // Tests of interceptors.
7 6
8 library supercall_test; 7 library supercall_test;
9 8
10 import 'js_backend_cps_ir.dart'; 9 import 'js_backend_cps_ir.dart';
11 10
12 const List<TestEntry> tests = const [ 11 const List<TestEntry> tests = const [
13 const TestEntry.forMethod('function(Sub#m)', """ 12 const TestEntry.forMethod('function(Sub#m)', """
14 class Base { 13 class Base {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 function(x) { 65 function(x) {
67 return J.getInterceptor$ns(x).$add(x, this.field); 66 return J.getInterceptor$ns(x).$add(x, this.field);
68 }"""), 67 }"""),
69 68
70 69
71 ]; 70 ];
72 71
73 void main() { 72 void main() {
74 runTests(tests); 73 runTests(tests);
75 } 74 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/js_backend_cps_ir_source_information_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698