< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases/src/org/graalvm/compiler/phases/util/Providers.java

Print this page




  92     }
  93 
  94     @Override
  95     public ConstantReflectionProvider getConstantReflection() {
  96         return constantReflection;
  97     }
  98 
  99     public ConstantFieldProvider getConstantFieldProvider() {
 100         return constantFieldProvider;
 101     }
 102 
 103     public Replacements getReplacements() {
 104         return replacements;
 105     }
 106 
 107     public StampProvider getStampProvider() {
 108         return stampProvider;
 109     }
 110 
 111     public Providers copyWith(MetaAccessProvider substitution) {

 112         return new Providers(substitution, codeCache, constantReflection, constantFieldProvider, foreignCalls, lowerer, replacements, stampProvider);
 113     }
 114 
 115     public Providers copyWith(CodeCacheProvider substitution) {

 116         return new Providers(metaAccess, substitution, constantReflection, constantFieldProvider, foreignCalls, lowerer, replacements, stampProvider);
 117     }
 118 
 119     public Providers copyWith(ConstantReflectionProvider substitution) {

 120         return new Providers(metaAccess, codeCache, substitution, constantFieldProvider, foreignCalls, lowerer, replacements, stampProvider);
 121     }
 122 
 123     public Providers copyWith(ConstantFieldProvider substitution) {

 124         return new Providers(metaAccess, codeCache, constantReflection, substitution, foreignCalls, lowerer, replacements, stampProvider);
 125     }
 126 
 127     public Providers copyWith(ForeignCallsProvider substitution) {

 128         return new Providers(metaAccess, codeCache, constantReflection, constantFieldProvider, substitution, lowerer, replacements, stampProvider);
 129     }
 130 
 131     public Providers copyWith(LoweringProvider substitution) {

 132         return new Providers(metaAccess, codeCache, constantReflection, constantFieldProvider, foreignCalls, substitution, replacements, stampProvider);
 133     }
 134 
 135     public Providers copyWith(Replacements substitution) {

 136         return new Providers(metaAccess, codeCache, constantReflection, constantFieldProvider, foreignCalls, lowerer, substitution, stampProvider);
 137     }
 138 
 139     public Providers copyWith(StampProvider substitution) {

 140         return new Providers(metaAccess, codeCache, constantReflection, constantFieldProvider, foreignCalls, lowerer, replacements, substitution);
 141     }
 142 }


  92     }
  93 
  94     @Override
  95     public ConstantReflectionProvider getConstantReflection() {
  96         return constantReflection;
  97     }
  98 
  99     public ConstantFieldProvider getConstantFieldProvider() {
 100         return constantFieldProvider;
 101     }
 102 
 103     public Replacements getReplacements() {
 104         return replacements;
 105     }
 106 
 107     public StampProvider getStampProvider() {
 108         return stampProvider;
 109     }
 110 
 111     public Providers copyWith(MetaAccessProvider substitution) {
 112         assert this.getClass() == Providers.class : "must override";
 113         return new Providers(substitution, codeCache, constantReflection, constantFieldProvider, foreignCalls, lowerer, replacements, stampProvider);
 114     }
 115 
 116     public Providers copyWith(CodeCacheProvider substitution) {
 117         assert this.getClass() == Providers.class : "must override";
 118         return new Providers(metaAccess, substitution, constantReflection, constantFieldProvider, foreignCalls, lowerer, replacements, stampProvider);
 119     }
 120 
 121     public Providers copyWith(ConstantReflectionProvider substitution) {
 122         assert this.getClass() == Providers.class : "must override";
 123         return new Providers(metaAccess, codeCache, substitution, constantFieldProvider, foreignCalls, lowerer, replacements, stampProvider);
 124     }
 125 
 126     public Providers copyWith(ConstantFieldProvider substitution) {
 127         assert this.getClass() == Providers.class : "must override";
 128         return new Providers(metaAccess, codeCache, constantReflection, substitution, foreignCalls, lowerer, replacements, stampProvider);
 129     }
 130 
 131     public Providers copyWith(ForeignCallsProvider substitution) {
 132         assert this.getClass() == Providers.class : "must override";
 133         return new Providers(metaAccess, codeCache, constantReflection, constantFieldProvider, substitution, lowerer, replacements, stampProvider);
 134     }
 135 
 136     public Providers copyWith(LoweringProvider substitution) {
 137         assert this.getClass() == Providers.class : "must override";
 138         return new Providers(metaAccess, codeCache, constantReflection, constantFieldProvider, foreignCalls, substitution, replacements, stampProvider);
 139     }
 140 
 141     public Providers copyWith(Replacements substitution) {
 142         assert this.getClass() == Providers.class : "must override in " + getClass();
 143         return new Providers(metaAccess, codeCache, constantReflection, constantFieldProvider, foreignCalls, lowerer, substitution, stampProvider);
 144     }
 145 
 146     public Providers copyWith(StampProvider substitution) {
 147         assert this.getClass() == Providers.class : "must override";
 148         return new Providers(metaAccess, codeCache, constantReflection, constantFieldProvider, foreignCalls, lowerer, replacements, substitution);
 149     }
 150 }
< prev index next >