Mercurial > hg > graal-compiler
changeset 6450:9214d9ff2fb9
replaced magic constant with configuration value
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 26 Sep 2012 21:45:20 +0200 |
parents | de9c0c4b7c9b |
children | c9f45d2d96cf |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java Wed Sep 26 21:44:04 2012 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java Wed Sep 26 21:45:20 2012 +0200 @@ -215,8 +215,7 @@ */ @Override public int getCustomStackAreaSize() { - // TODO shouldn't be hard coded - return 8; + return graalRuntime.getTarget().wordSize; } @Override