graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotSubstitutions.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File basic-graal Sdiff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements

graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotSubstitutions.java

Print this page




  50         @Override
  51         public String toString() {
  52             return name;
  53         }
  54     }
  55 
  56     @Override
  57     public void registerReplacements(MetaAccessProvider metaAccess, LoweringProvider loweringProvider, SnippetReflectionProvider snippetReflection, Replacements replacements, TargetDescription target) {
  58         replacements.registerSubstitutions(Object.class, ObjectSubstitutions.class);
  59         replacements.registerSubstitutions(System.class, SystemSubstitutions.class);
  60         replacements.registerSubstitutions(Thread.class, ThreadSubstitutions.class);
  61         replacements.registerSubstitutions(Unsafe.class, UnsafeSubstitutions.class);
  62         replacements.registerSubstitutions(Class.class, ClassSubstitutions.class);
  63         replacements.registerSubstitutions(CRC32.class, CRC32Substitutions.class);
  64         replacements.registerSubstitutions(Reflection.class, ReflectionSubstitutions.class);
  65         replacements.registerSubstitutions(NodeClass.class, HotSpotNodeClassSubstitutions.class);
  66         replacements.registerSubstitutions(Node.class, HotSpotNodeSubstitutions.class);
  67         replacements.registerSubstitutions(CompositeValueClass.class, CompositeValueClassSubstitutions.class);
  68         replacements.registerSubstitutions(new NamedType("com.sun.crypto.provider.AESCrypt"), AESCryptSubstitutions.class);
  69         replacements.registerSubstitutions(new NamedType("com.sun.crypto.provider.CipherBlockChaining"), CipherBlockChainingSubstitutions.class);


  70     }
  71 }


  50         @Override
  51         public String toString() {
  52             return name;
  53         }
  54     }
  55 
  56     @Override
  57     public void registerReplacements(MetaAccessProvider metaAccess, LoweringProvider loweringProvider, SnippetReflectionProvider snippetReflection, Replacements replacements, TargetDescription target) {
  58         replacements.registerSubstitutions(Object.class, ObjectSubstitutions.class);
  59         replacements.registerSubstitutions(System.class, SystemSubstitutions.class);
  60         replacements.registerSubstitutions(Thread.class, ThreadSubstitutions.class);
  61         replacements.registerSubstitutions(Unsafe.class, UnsafeSubstitutions.class);
  62         replacements.registerSubstitutions(Class.class, ClassSubstitutions.class);
  63         replacements.registerSubstitutions(CRC32.class, CRC32Substitutions.class);
  64         replacements.registerSubstitutions(Reflection.class, ReflectionSubstitutions.class);
  65         replacements.registerSubstitutions(NodeClass.class, HotSpotNodeClassSubstitutions.class);
  66         replacements.registerSubstitutions(Node.class, HotSpotNodeSubstitutions.class);
  67         replacements.registerSubstitutions(CompositeValueClass.class, CompositeValueClassSubstitutions.class);
  68         replacements.registerSubstitutions(new NamedType("com.sun.crypto.provider.AESCrypt"), AESCryptSubstitutions.class);
  69         replacements.registerSubstitutions(new NamedType("com.sun.crypto.provider.CipherBlockChaining"), CipherBlockChainingSubstitutions.class);
  70         replacements.registerSubstitutions(Integer.class, IntegerSubstitutions.class);
  71         replacements.registerSubstitutions(Long.class, LongSubstitutions.class);
  72     }
  73 }
graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotSubstitutions.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File