Mercurial > hg > graal-compiler
changeset 8658:e18f7f7ce7a9
removed unused and unnecessary getCustomStackAreaSize() from CodeCacheProvider
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 05 Apr 2013 17:37:27 +0200 |
parents | 63400866de15 |
children | bc7bb895e359 |
files | graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/CodeCacheProvider.java graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java |
diffstat | 2 files changed, 0 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/CodeCacheProvider.java Fri Apr 05 16:23:01 2013 +0200 +++ b/graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/CodeCacheProvider.java Fri Apr 05 17:37:27 2013 +0200 @@ -60,13 +60,6 @@ RegisterConfig lookupRegisterConfig(); /** - * Custom area on the stack of each compiled method that the VM can use for its own purposes. - * - * @return the size of the custom area in bytes - */ - int getCustomStackAreaSize(); - - /** * Minimum size of the stack area reserved for outgoing parameters. This area is reserved in all * cases, even when the compiled method has no regular call instructions. *
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java Fri Apr 05 16:23:01 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java Fri Apr 05 17:37:27 2013 +0200 @@ -478,15 +478,6 @@ return regConfig; } - /** - * HotSpots needs an area suitable for storing a program counter for temporary use during the - * deoptimization process. - */ - @Override - public int getCustomStackAreaSize() { - return graalRuntime.getTarget().wordSize; - } - @Override public int getMinimumOutgoingSize() { return config.runtimeCallStackSize;