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

Unified Diff: pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart

Issue 3009593002: It's alive (first kernel inference test) (Closed)
Patch Set: Updated cf. comment Created 3 years, 4 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/ssa/builder_kernel.dart ('k') | tests/compiler/dart2js/inference/data/return.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
diff --git a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
index f588e76efdf5637715ab26db0bc50fde37654556..fd9899ba43537e27ba01253bb76ff156f17c1d43 100644
--- a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
+++ b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
@@ -110,8 +110,7 @@ class KernelAstAdapter extends KernelToElementMapBaseMixin
}
@override
- ConstantValue getFieldConstantValue(ir.Field field) {
- FieldElement element = getField(field);
+ ConstantValue getFieldConstantValue(covariant FieldElement element) {
if (element.constant != null) {
return computeConstantValue(element.constant);
}
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder_kernel.dart ('k') | tests/compiler/dart2js/inference/data/return.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698