Mercurial > hg > graal-compiler
changeset 12530:ecd85445f77a
Rename CodeCacheProvider.addDefaultMethod to setDefaultMethod
author | Matthias Grimmer <grimmer@ssw.jku.at> |
---|---|
date | Wed, 23 Oct 2013 12:45:57 +0200 |
parents | 23dc5dfdb9c7 |
children | 7d5c3ffbee64 |
files | graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/CodeCacheProvider.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/CodeCacheProvider.java Tue Oct 22 13:25:37 2013 +0200 +++ b/graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/CodeCacheProvider.java Wed Oct 23 12:45:57 2013 +0200 @@ -42,14 +42,14 @@ InstalledCode addMethod(ResolvedJavaMethod method, CompilationResult compResult); /** - * Adds the given compilation result as a default implementation of the given method. + * Sets the given compilation result as the default implementation of the given method. * * @param method a method to which the executable code is begin added * @param compResult the compilation result to be added * @return a reference to the compiled and ready-to-run code or null if the code installation * failed */ - InstalledCode addDefaultMethod(ResolvedJavaMethod method, CompilationResult compResult); + InstalledCode setDefaultMethod(ResolvedJavaMethod method, CompilationResult compResult); /** * Returns a disassembly of some compiled code.