anchor.diff:      return info;
     }
   
  -  OutputUnitInfo _unitInfoForElement(Element element) {
  -    OutputUnit outputUnit =
  -      compiler.deferredLoadTask.outputUnitForElement(element);
  +  OutputUnitInfo _infoFromOutputUnit(OutputUnit outputUnit) {
       return _outputToInfo.putIfAbsent(outputUnit, () {
         // Dump-info currently only works with the full emitter. If another
         // emitter is used it will fail here.
  
positive.code: 
    TypedefInfo visitTypedefElement(TypedefElement element, _) {
      if (!element.isResolved) return null;
      TypedefInfo info = new TypedefInfo(element.name, '${element.alias}',
          _unitInfoForElement(element));
      _elementToInfo[element] = info;
      result.typedefs.add(info);
      return info;
  
negative.code:       result.outputUnits.add(info);
        return info;
      });
    }
  
    OutputUnitInfo _unitInfoForElement(Element element) {
      return _infoFromOutputUnit(
          compiler.deferredLoadTask.outputUnitForElement(element));
    }
  
    OutputUnitInfo _unitInfoForConstant(ConstantValue constant) {
      OutputUnit outputUnit =
          compiler.deferredLoadTask.outputUnitForConstant(constant);
      if (outputUnit == null) {
        assert(constant is InterceptorConstantValue);
        return null;
      }
      return _infoFromOutputUnit(outputUnit);
    }
  }
  
  