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

Unified Diff: pkg/compiler/lib/src/info/naive_analysis_result.dart

Issue 2214263002: delete send-info measurements. This experiment is not being maintained (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: also remove test Created 4 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/info/analysis_result.dart ('k') | pkg/compiler/lib/src/info/send_info.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/info/naive_analysis_result.dart
diff --git a/pkg/compiler/lib/src/info/naive_analysis_result.dart b/pkg/compiler/lib/src/info/naive_analysis_result.dart
deleted file mode 100644
index d18dc912977278303b37b1d20d4ce5485e0769f3..0000000000000000000000000000000000000000
--- a/pkg/compiler/lib/src/info/naive_analysis_result.dart
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-/// API to get results from a static analysis of the source program.
-// TODO(sigmund): split out implementations out of this file.
-library compiler.src.stats.naive_analysis_result;
-
-import 'analysis_result.dart';
-import '../tree/tree.dart' show Node;
-import '../universe/selector.dart' show Selector;
-
-/// A naive [AnalysisResult] that tells us very little. This is the most
-/// conservative we can be when we only use information from the AST structure
-/// and from resolution, but no type information.
-class NaiveAnalysisResult implements AnalysisResult {
- NaiveAnalysisResult();
-
- ReceiverInfo infoForReceiver(Node receiver) =>
- new NaiveReceiverInfo(receiver);
- SelectorInfo infoForSelector(Node receiver, Selector selector) =>
- new NaiveSelectorInfo(receiver, selector);
-}
-
-class NaiveReceiverInfo implements ReceiverInfo {
- final Node receiver;
-
- NaiveReceiverInfo(this.receiver);
- Boolish get hasNoSuchMethod => Boolish.maybe;
- Boolish get isNull => Boolish.maybe;
- int get possibleNsmTargets => -1;
-}
-
-class NaiveSelectorInfo implements SelectorInfo {
- final Node receiver;
- final Selector selector;
-
- NaiveSelectorInfo(this.receiver, this.selector);
-
- Boolish get exists => Boolish.maybe;
- Boolish get usesInterceptor => Boolish.maybe;
- int get possibleTargets => -1;
- bool get isAccurate => false;
-}
« no previous file with comments | « pkg/compiler/lib/src/info/analysis_result.dart ('k') | pkg/compiler/lib/src/info/send_info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698