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

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

Issue 2669703003: Refactor ConstantExpression/ConstantConstructor to use entities. (Closed)
Patch Set: Created 3 years, 11 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 de79fb6f41ea0320a82001db5d15f00f637a2c3b..d7c1c99b844b6a949709f940d68bd32e48ce7d48 100644
--- a/pkg/compiler/lib/src/use_unused_api.dart
+++ b/pkg/compiler/lib/src/use_unused_api.dart
@@ -104,8 +104,8 @@ void useConstant(
constants.Environment env]) {
constant.isObject;
cs.isBool(constant);
- constructedConstant.computeInstanceType();
- constructedConstant.computeInstanceFields();
+ constructedConstant.computeInstanceType(null);
+ constructedConstant.computeInstanceFields(null);
expression.evaluate(null, null);
new NullConstantConstructorVisitor()
..visit(null, null)
« no previous file with comments | « pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart ('k') | tests/compiler/dart2js/analyze_dart2js_helpers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698