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

Unified Diff: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart

Issue 1134063002: dart2js cps: Introduce GetStatic/SetStatic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix SExpression parsing/unparsing 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
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart ('k') | pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
index fbb348bdf1ea5f2e9f245bd60a710a79c4d880f2..c49953c554cb103e4f41957cc5154d9ba1429b18 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
@@ -771,7 +771,7 @@ abstract class IrBuilderVisitor extends ast.Visitor<ir.Primitive>
if (function.isForeign(compiler.backend)) {
return giveup(node, 'handleStaticFunctionGet: foreign: $function');
}
- return giveup(node, 'handleStaticFunctionGet: $function');
+ return irBuilder.buildStaticFunctionGet(function);
}
@override
@@ -3690,6 +3690,10 @@ class CleanupPass extends ir.RecursiveVisitor {
node.body = replacementFor(node.body);
}
+ processSetStatic(ir.SetStatic node) {
+ node.body = replacementFor(node.body);
+ }
+
processContinuation(ir.Continuation node) {
node.body = replacementFor(node.body);
}
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart ('k') | pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698