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

Unified Diff: pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart

Issue 1196443002: Revert "cps-ir: Support foreign code." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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: pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart
diff --git a/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart b/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart
index 500c9636089cb308ec4ccbe78feb171a30518d03..b44ca6dfb819005b7d894da1825c9bae9cbd7607 100644
--- a/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart
+++ b/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart
@@ -952,18 +952,6 @@ class StatementRewriter extends Transformer implements Pass {
Statement getBranch(If node, bool polarity) {
return polarity ? node.thenStatement : node.elseStatement;
}
-
- @override
- Expression visitForeignExpression(ForeignExpression node) {
- _rewriteList(node.arguments);
- return node;
- }
-
- @override
- Statement visitForeignStatement(ForeignStatement node) {
- _rewriteList(node.arguments);
- return node;
- }
}
/// Result of combining two expressions, with the potential for reverting the

Powered by Google App Engine
This is Rietveld 408576698