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

Side by Side Diff: tests/compiler/dart2js/sourcemaps/invokes_test_file.dart

Issue 1229673006: Generated source mapping through CPS. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 5 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
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 4
5 // Test file for testing source mappings of invocations. 5 // Test file for testing source mappings of invocations.
6 6
7 var counter = 0; 7 var counter = 0;
8 var bucket; 8 var bucket;
9 9
10 main(args) { 10 main(args) {
(...skipping 18 matching lines...) Expand all
29 var localVariable = () { 29 var localVariable = () {
30 counter++; 30 counter++;
31 }; 31 };
32 localFunction() { 32 localFunction() {
33 counter++; 33 counter++;
34 } 34 }
35 35
36 parameter(); 36 parameter();
37 localVariable(); 37 localVariable();
38 localFunction(); 38 localFunction();
39 (parameter)();
39 40
40 parameter.dynamicInvoke(); 41 parameter.dynamicInvoke();
41 new C(parameter).instanceInvokes(); 42 new C(parameter).instanceInvokes();
42 } 43 }
43 44
44 toplevelFunction() { 45 toplevelFunction() {
45 counter++; 46 counter++;
46 } 47 }
47 48
48 var toplevelField = () { 49 var toplevelField = () {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 super.superMethod(); 119 super.superMethod();
119 super.superField(); 120 super.superField();
120 super.superGetter(); 121 super.superGetter();
121 122
122 C(); 123 C();
123 dynamic(); 124 dynamic();
124 F(); 125 F();
125 T(); 126 T();
126 } 127 }
127 } 128 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart ('k') | tests/compiler/dart2js/sourcemaps/source_mapping_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698