Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConstant.java @ 13517:eefb0224149d
derive CPUFeatures from VM_Version::_cpuFeatures
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Thu, 02 Jan 2014 14:53:19 -0800 |
parents | ae412befde21 |
children | 8305aec3a1ae |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConstant.java Thu Jan 02 14:56:47 2014 -0800 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConstant.java Thu Jan 02 14:53:19 2014 -0800 @@ -30,5 +30,10 @@ String name(); - boolean optional() default false; + /** + * List of architectures where this constant is required. Names are derived from + * {@link HotSpotVMConfig#getHostArchitectureName()}. + */ + String[] archs() default {}; + }