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

Unified Diff: pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart

Issue 1136523008: Revert "dart2js cps: Introduce GetStatic/SetStatic." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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/dart_backend/backend_ast_emitter.dart
diff --git a/pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart b/pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart
index 6af3a4cb7d8c565501c0c9d633bbb0d3c4436e72..44f0ae919e798c5bf75da1617845e3eb60a440b2 100644
--- a/pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart
+++ b/pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart
@@ -969,21 +969,6 @@ class ASTEmitter
}
@override
- Expression visitGetStatic(tree.GetStatic node,
- BuilderContext<Statement> context) {
- return new Identifier(node.element.name)..element = node.element;
- }
-
- @override
- Expression visitSetStatic(tree.SetStatic node,
- BuilderContext<Statement> context) {
- Expression target =
- new Identifier(node.element.name)..element = node.element;
- Expression value = visitExpression(node.value, context);
- return makeAssignment(target, value);
- }
-
- @override
Expression visitTypeExpression(tree.TypeExpression node, arg) {
throw '$node not supported by dart backend';
}
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/type_propagation.dart ('k') | pkg/compiler/lib/src/js_backend/codegen/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698