Mercurial > hg > graal-jvmci-8
view c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/TemplateFlag.java @ 1435:20a3896518ac
Initial adjustments to make C1X4HotSpot compile and run with latest Maxine version.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Fri, 22 Oct 2010 17:31:38 +0200 |
parents | efba53f86c4f |
children | 9e5e83ca2259 |
line wrap: on
line source
package com.sun.hotspot.c1x; enum TemplateFlag { NULL_CHECK, UNRESOLVED, READ_BARRIER, WRITE_BARRIER, STORE_CHECK, BOUNDS_CHECK, GIVEN_LENGTH, STATIC_METHOD, SYNCHRONIZED; private static long FIRST_FLAG = 0x0000000100000000L; public static long FLAGS_MASK = 0x0000FFFF00000000L; public static long INDEX_MASK = 0x00000000FFFFFFFFL; public long bits() { assert ((FIRST_FLAG << ordinal()) & FLAGS_MASK) != 0; return FIRST_FLAG << ordinal(); } }