anchor.diff:                                   TreeElements elements) {
       if (!cls.typeVariables.isEmpty) {
         typeVariableHandler.registerClassWithTypeVariables(cls);
  -    }
  -
  -    if (!seenAnyClass) {
  -      seenAnyClass = true;
  -      if (enqueuer.isResolutionQueue) {
  -        // TODO(9577): Make it so that these are not needed when there are no
  -        // native classes.
  -        enqueue(enqueuer, getNativeInterceptorMethod, elements);
  -        enqueueClass(enqueuer, jsInterceptorClass, compiler.globalDependencies);
  -      }
       }
   
       // Register any helper that will be needed by the backend.
  
positive.code:   HType nullType = const HBoundedType(const TypeMask.empty());
    HType emptyType = const HBoundedType(const TypeMask.nonNullEmpty());
  
    // TODO(9577): Make it so that these are not needed when there are no native
    // classes.
    Element dispatchPropertyName;
    Element getNativeInterceptorMethod;
    bool needToInitializeDispatchProperty = false;
  
    bool seenAnyClass = false;
  
    final Namer namer;
  
  
negative.code:     getInterceptorMethod = compiler.findInterceptor('getInterceptor');
      interceptedNames = compiler.findInterceptor('interceptedNames');
      mapTypeToInterceptor = compiler.findInterceptor('mapTypeToInterceptor');
      getNativeInterceptorMethod =
          compiler.findInterceptor('getNativeInterceptor');
  
  