changeset 11402:7401a9c8a7bb

naming cleanup
author Doug Simon <doug.simon@oracle.com>
date Fri, 23 Aug 2013 12:29:06 +0200
parents 8747d6af5b58
children e45b540b0ef2
files graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/ReplacementsImpl.java
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/ReplacementsImpl.java	Thu Aug 22 20:05:34 2013 +0200
+++ b/graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/ReplacementsImpl.java	Fri Aug 23 12:29:06 2013 +0200
@@ -61,7 +61,7 @@
     // These data structures are all fully initialized during single-threaded
     // compiler startup and so do not need to be concurrent.
     private final Map<ResolvedJavaMethod, ResolvedJavaMethod> registeredMethodSubstitutions;
-    private final Map<ResolvedJavaMethod, Class<? extends FixedWithNextNode>> registerMacroSubstitutions;
+    private final Map<ResolvedJavaMethod, Class<? extends FixedWithNextNode>> registeredMacroSubstitutions;
     private final Set<ResolvedJavaMethod> forcedSubstitutions;
     private final Map<Class<? extends SnippetTemplateCache>, SnippetTemplateCache> snippetTemplateCache;
 
@@ -71,7 +71,7 @@
         this.assumptions = assumptions;
         this.graphs = new ConcurrentHashMap<>();
         this.registeredMethodSubstitutions = new HashMap<>();
-        this.registerMacroSubstitutions = new HashMap<>();
+        this.registeredMacroSubstitutions = new HashMap<>();
         this.forcedSubstitutions = new HashSet<>();
         this.snippetTemplateCache = new HashMap<>();
     }
@@ -103,7 +103,7 @@
     }
 
     public Class<? extends FixedWithNextNode> getMacroSubstitution(ResolvedJavaMethod method) {
-        return registerMacroSubstitutions.get(method);
+        return registeredMacroSubstitutions.get(method);
     }
 
     public Assumptions getAssumptions() {
@@ -192,7 +192,7 @@
         } else {
             originalJavaMethod = runtime.lookupJavaConstructor((Constructor) originalMethod);
         }
-        registerMacroSubstitutions.put(originalJavaMethod, macro);
+        registeredMacroSubstitutions.put(originalJavaMethod, macro);
         return originalJavaMethod;
     }
 
@@ -502,7 +502,7 @@
     public Collection<ResolvedJavaMethod> getAllReplacements() {
         HashSet<ResolvedJavaMethod> result = new HashSet<>();
         result.addAll(registeredMethodSubstitutions.keySet());
-        result.addAll(registerMacroSubstitutions.keySet());
+        result.addAll(registeredMacroSubstitutions.keySet());
         return result;
     }