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

Unified Diff: pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart

Issue 2917663002: Clean up instrumentation of invocation targets. (Closed)
Patch Set: 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
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart
diff --git a/pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart b/pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart
index eadb02e21af695fdfa8bd0822d8e07d27b8aa145..a2eba70eece785e7554bd6638ac0da2bd6ff78e2 100644
--- a/pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart
+++ b/pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart
@@ -204,14 +204,12 @@ abstract class TypeInferrerImpl extends TypeInferrer {
/// inference.
TypePromoter<Expression, VariableDeclaration> get typePromoter;
- FunctionType getCalleeFunctionType(Member interfaceMember,
- DartType receiverType, Name methodName, int offset) {
+ FunctionType getCalleeFunctionType(
+ Member interfaceMember, DartType receiverType, Name methodName) {
if (receiverType is InterfaceType) {
if (interfaceMember == null) return _functionReturningDynamic;
var memberClass = interfaceMember.enclosingClass;
if (interfaceMember is Procedure) {
- instrumentation?.record(Uri.parse(uri), offset, 'target',
- new InstrumentationValueForProcedure(interfaceMember));
var memberFunctionType = interfaceMember.function.functionType;
if (memberClass.typeParameters.isNotEmpty) {
var castedType = classHierarchy.getClassAsInstanceOf(
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698