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

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

Issue 1525163002: dart2js cps: Use oneshot interceptors and 'instanceof' expressions. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merge Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart
index 38608d01bc70a34221e53df8cfe0a195c4577c99..dc4552ba195b466eb8efe3422b5363e3d20c6104 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart
@@ -20,7 +20,7 @@ main(x) {
""",
r"""
function(x) {
- P.print(J.getInterceptor$ns(x).$add(x, "1"));
+ P.print(J.$add$ns(x, "1"));
}"""),
const TestEntry("""
@@ -37,7 +37,7 @@ r"""
function(x) {
var _box_0 = {}, a = new V.main_a(_box_0);
_box_0.x = x;
- _box_0.x = J.getInterceptor$ns(x = _box_0.x).$add(x, "1");
+ _box_0.x = J.$add$ns(_box_0.x, "1");
P.print(a.call$0());
return a;
}"""),
« no previous file with comments | « pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698