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

Side by Side Diff: tests/compiler/dart2js/backend_dart/sexpr_test.dart

Issue 861713002: Handle super-method invocations in CPS->JS backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 5 years, 11 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) 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 library dart_backend.sexpr_test; 5 library dart_backend.sexpr_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:async_helper/async_helper.dart'; 9 import 'package:async_helper/async_helper.dart';
10 import 'package:compiler/src/dart2jslib.dart'; 10 import 'package:compiler/src/dart2jslib.dart';
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 , "IsTrue" 139 , "IsTrue"
140 140
141 // Expressions 141 // Expressions
142 , "Branch" 142 , "Branch"
143 , "ConcatenateStrings" 143 , "ConcatenateStrings"
144 , "DeclareFunction" 144 , "DeclareFunction"
145 , "InvokeConstructor" 145 , "InvokeConstructor"
146 , "InvokeContinuation" 146 , "InvokeContinuation"
147 , "InvokeMethod" 147 , "InvokeMethod"
148 , "InvokeStatic" 148 , "InvokeStatic"
149 , "InvokeSuperMethod" 149 , "InvokeMethodDirectly"
150 , "LetCont" 150 , "LetCont"
151 , "LetPrim" 151 , "LetPrim"
152 , "SetClosureVariable" 152 , "SetClosureVariable"
153 , "TypeOperator" 153 , "TypeOperator"
154 154
155 // Primitives 155 // Primitives
156 , "Constant" 156 , "Constant"
157 , "CreateFunction" 157 , "CreateFunction"
158 , "GetClosureVariable" 158 , "GetClosureVariable"
159 , "LiteralList" 159 , "LiteralList"
160 , "LiteralMap" 160 , "LiteralMap"
161 // Parameters are encoded by name only and hence are not in this list. 161 // Parameters are encoded by name only and hence are not in this list.
162 , "ReifyTypeVar" 162 , "ReifyTypeVar"
163 , "This" 163 , "This"
164 ]; 164 ];
165 165
166 asyncTest(() => testStringifier(CODE, tokens).then((List<String> sexprs) { 166 asyncTest(() => testStringifier(CODE, tokens).then((List<String> sexprs) {
167 final functions = testUnstringifier(sexprs); 167 final functions = testUnstringifier(sexprs);
168 168
169 // Ensure that 169 // Ensure that
170 // stringified(CODE) == stringified(unstringified(stringified(CODE))) 170 // stringified(CODE) == stringified(unstringified(stringified(CODE)))
171 Expect.listEquals(sexprs, stringifyAll(functions)); 171 Expect.listEquals(sexprs, stringifyAll(functions));
172 })); 172 }));
173 } 173 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/use_unused_api.dart ('k') | tests/compiler/dart2js/backend_dart/sexpr_unstringifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698