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

Unified Diff: pkg/compiler/lib/src/use_unused_api.dart

Issue 2857373002: Handle more constants in Constantifier (Closed)
Patch Set: Updated cf. comments. Created 3 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/use_unused_api.dart
diff --git a/pkg/compiler/lib/src/use_unused_api.dart b/pkg/compiler/lib/src/use_unused_api.dart
index ebd4554db9fe12b5171ecd22b7b4ec82ab5121be..57dba1cdb3e9418cad4ff31640a24c86258ddb20 100644
--- a/pkg/compiler/lib/src/use_unused_api.dart
+++ b/pkg/compiler/lib/src/use_unused_api.dart
@@ -96,7 +96,7 @@ void useConstant(
constants.ConstantExpression expression,
constants.ConstructedConstantExpression constructedConstant,
constants.ConstantSystem cs,
- constants.Environment env]) {
+ constants.EvaluationEnvironment env]) {
constant.isObject;
cs.isBool(constant);
constructedConstant.computeInstanceType(null);
« no previous file with comments | « pkg/compiler/lib/src/kernel/kernel_strategy.dart ('k') | tests/compiler/dart2js/constant_expression_evaluate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698