public Suites createSuites() {
    Suites ret = Suites.createDefaultSuites();

    if (ImmutableCode.getValue()) {
      // lowering introduces class constants, therefore it must be after lowering
      ret.getHighTier()
          .appendPhase(
              new LoadJavaMirrorWithKlassPhase(
                  runtime.getConfig().classMirrorOffset, runtime.getConfig().getOopEncoding()));
      if (VerifyPhases.getValue()) {
        ret.getHighTier().appendPhase(new AheadOfTimeVerificationPhase());
      }
    }

    ret.getMidTier().appendPhase(new WriteBarrierAdditionPhase(runtime.getConfig()));
    if (VerifyPhases.getValue()) {
      ret.getMidTier().appendPhase(new WriteBarrierVerificationPhase());
    }

    return ret;
  }
 public LIRSuites createLIRSuites() {
   return Suites.createDefaultLIRSuites();
 }