anchor.diff:        info.coverageId = '${field.hashCode}';
       }
   
  -    int closureSize = _addClosureInfo(info, fieldEntity);
  -    info.size = size + closureSize;
  -
       result.fields.add(info);
       return info;
     }
   
  -  ClassTypeInfo visitClassType(ClassEntity clazz) {
  -    // Omit class type if it is not needed.
  -    ClassTypeInfo classTypeInfo = ClassTypeInfo(
  -        name: clazz.name, outputUnit: _unitInfoForClassType(clazz));
  -
  -    // TODO(joshualitt): Get accurate size information for class types.
  -    classTypeInfo.size = 0;
  -
  -    bool isNeeded =
  -        compiler.backendStrategy.emitterTask.neededClassTypes.contains(clazz);
  -    if (!isNeeded) {
  -      return null;
  -    }
  -
  +  ClassTypeInfo visitClassType(ir.Class clazz) {
  +    ClassTypeInfo classTypeInfo = ClassTypeInfo(name: clazz.name);
       result.classTypes.add(classTypeInfo);
       return classTypeInfo;
     }
  
positive.code:       this.closedWorld, this._globalInferenceResults);
  
    void run() {
      dumpInfoTask._constantToNode.forEach((constant, node) {
        // TODO(sigmund): add dependencies on other constants
        var span = dumpInfoTask._nodeData[node];
        var info = ConstantInfo(
            size: span.end - span.start,
            code: [span],
            outputUnit: _unitInfoForConstant(constant));
        _constantToInfo[constant] = info;
        result.constants.add(info);
      });
      component.libraries.forEach(visitLibrary);
    }
  
    /// Whether to emit information about [entity].
    ///
    /// By default we emit information for any entity that contributes to the
    /// output size. Either because it is a function being emitted or inlined,
    /// or because it is an entity that holds dependencies to other entities.
    bool shouldKeep(Entity entity) {
      return dumpInfoTask.impacts.containsKey(entity) ||
          dumpInfoTask.inlineCount.containsKey(entity);
    }
  
    LibraryInfo visitLibrary(ir.Library lib) {
  
negative.code:       final classEntity = environment.lookupClass(libEntity, clazz.name);
        if (classEntity == null) return;
  
        ClassTypeInfo classTypeInfo = visitClassType(clazz);
        if (classTypeInfo != null) {
          info.classTypes.add(classTypeInfo);
          classTypeInfo.parent = info;
  