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

Unified Diff: lib/compiler/implementation/compile_time_constants.dart

Issue 10915306: Put functions used in compile-time constants in the worklist of codegen. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | « no previous file | tests/co19/co19-dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/compile_time_constants.dart
===================================================================
--- lib/compiler/implementation/compile_time_constants.dart (revision 12416)
+++ lib/compiler/implementation/compile_time_constants.dart (working copy)
@@ -405,6 +405,7 @@
compiler.codegenWorld.staticFunctionsNeedingGetter.add(element);
Constant constant = new FunctionConstant(element);
compiler.constantHandler.registerCompileTimeConstant(constant);
+ compiler.enqueuer.codegen.registerStaticUse(element);
return constant;
} else if (send.isPrefix) {
assert(send.isOperator);
« no previous file with comments | « no previous file | tests/co19/co19-dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698