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

Unified Diff: tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart

Issue 1238163003: dart2js cps: Share interceptors by default and propagate to use later. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Renamed to let_sinking.dart 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 side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
index 374b75197ef44920457e3fb6ca80560a4322852f..4e7b0cfdcdd8abf19ae8225e9395cce55a7a01e9 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
@@ -33,15 +33,15 @@ main() {
}""",
r"""
function() {
- var l = ["hest", ["h", "e", "s", "t"]], i = 0, x, j;
+ var l = ["hest", ["h", "e", "s", "t"]], i = 0, x_, x, j;
P.print(l.length);
while (i < l.length) {
if (i < 0 || i >= l.length)
H.ioore(l, i);
- x = l[i];
+ x_ = J.getInterceptor$as(x = l[i]);
j = 0;
- while (j < J.getInterceptor$as(x).get$length(x)) {
- P.print(J.getInterceptor$as(x).$index(x, j));
+ while (j < x_.get$length(x)) {
+ P.print(x_.$index(x, j));
j = j + 1;
}
i = i + 1;
« no previous file with comments | « tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart ('k') | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698