Mercurial > hg > truffle
comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotTarget.java @ 1439:d0c8d3a2a7e8
Modified domake script to use (and require) JRE7 environment variable for find the base of a JRE 7 installation. This script no also ensures that $JRE7/lib/amd64/jvm.cfg has the right value for '-client'.
Added c1x4hotspotsrc/hotspot/java as indirect launcher for $JRE7/bin/java that can be referenced from Eclipse launch configuration.
Copied .checkstyle_checks.xml from C1X project to c1x4hotspotsrc/HotSpotVM so that it can be used by HotSpotVM project without hard coded path to C1X in another Eclipse workspace.
Various other changes to reflect changes in CRI and C1X.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 29 Oct 2010 18:14:17 +0200 |
parents | 9e5e83ca2259 |
children | 43a93774d24f |
comparison
equal
deleted
inserted
replaced
1438:a7a0ef3c6858 | 1439:d0c8d3a2a7e8 |
---|---|
19 * Company, Ltd. | 19 * Company, Ltd. |
20 */ | 20 */ |
21 package com.sun.hotspot.c1x; | 21 package com.sun.hotspot.c1x; |
22 | 22 |
23 import com.sun.cri.ci.*; | 23 import com.sun.cri.ci.*; |
24 import com.sun.cri.ri.*; | |
25 | 24 |
26 /** | 25 /** |
27 * HotSpot-specific CiTarget that provides the correct stack frame size alignment. | 26 * HotSpot-specific CiTarget that provides the correct stack frame size alignment. |
28 * | 27 * |
29 * @author Lukas Stadler | 28 * @author Lukas Stadler |
30 */ | 29 */ |
31 public class HotSpotTarget extends CiTarget { | 30 public class HotSpotTarget extends CiTarget { |
32 | 31 |
33 public HotSpotTarget(CiArchitecture arch, RiRegisterConfig registerConfig, boolean isMP, int spillSlotSize, int wordSize, int referenceSize, int stackAlignment, int pageSize, int cacheAlignment, | 32 public HotSpotTarget(CiArchitecture arch, CiRegisterSaveArea rsa, boolean isMP, int spillSlotSize, int wordSize, int referenceSize, int stackAlignment, int pageSize, int cacheAlignment, |
34 int heapAlignment, int codeAlignment, boolean inlineObjects) { | 33 int heapAlignment, int codeAlignment, boolean inlineObjects) { |
35 super(arch, registerConfig, isMP, spillSlotSize, wordSize, referenceSize, stackAlignment, pageSize, cacheAlignment, heapAlignment, codeAlignment, inlineObjects); | 34 super(arch, rsa, isMP, spillSlotSize, wordSize, referenceSize, stackAlignment, pageSize, cacheAlignment, heapAlignment, codeAlignment, inlineObjects); |
36 } | 35 } |
37 | 36 |
38 @Override | 37 @Override |
39 public int alignFrameSize(int frameSize) { | 38 public int alignFrameSize(int frameSize) { |
40 // account for the stored rbp value | 39 // account for the stored rbp value |