return 0;
   int getPreviousCompiler(VM_CompiledMethod cmpMethod) {    switch(cmpMethod.getCompilerType()) {    case VM_CompiledMethod.TRAP:     case VM_CompiledMethod.JNI:      return -1; // don't try to optimize these guys!    case VM_CompiledMethod.QUICK:    case VM_CompiledMethod.BASELINE:      {         // Prevent the adaptive system from recompiling certain classes        // of baseline compiled methods.        if (cmpMethod.getMethod().getDeclaringClass().isDynamicBridge()) {          // The opt compiler does not implement this calling convention.          return -1;        }         if (cmpMethod.getMethod().getDeclaringClass().isBridgeFromNative()) {          // The opt compiler does not implement this calling convention.          return -1;        }        if (cmpMethod.getMethod().hasNoOptCompilePragma()) {          // Explict declaration that the method should not be opt compiled.          return -1;        }        if (!cmpMethod.getMethod().isInterruptible()) {          // A crude filter to identify the subset of core VM methods that           // can't be recompiled because we require their code to be non-moving.          // We really need to do a better job of this to avoid missing too many opportunities.          // NOTE: it doesn't matter whether or not the GC is non-moving here,           //       because recompiling effectively moves the code to a new location even if           //       GC never moves it again!!!          //      (C code may have a return address or other naked pointer into the old instruction array)          return -1;        }        switch (cmpMethod.getCompilerType())          {          case VM_CompiledMethod.BASELINE:            return VM_CompilerDNA.BASELINE;          case VM_CompiledMethod.QUICK:            return VM_CompilerDNA.QUICK;          }      }    case VM_CompiledMethod.OPT:      VM_OptCompiledMethod optMeth = (VM_OptCompiledMethod)cmpMethod;      return VM_CompilerDNA.getCompilerConstant(optMeth.getOptLevel());    default:      if (VM.VerifyAssertions) VM._assert(false, "Unknown Compiler");      return -1;    }  }