comparison graal/com.oracle.graal.lir/src/com/oracle/graal/lir/LIRInstruction.java @ 8165:a85ef330ffe7

Composite value.
author Roland Schatz <roland.schatz@oracle.com>
date Thu, 07 Mar 2013 15:16:19 +0100
parents ea1c2bed2bfa
children 0fdbde04cca3
comparison
equal deleted inserted replaced
8164:25fd899b979f 8165:a85ef330ffe7
169 * The value can be a {@link Address}. 169 * The value can be a {@link Address}.
170 */ 170 */
171 ADDR, 171 ADDR,
172 172
173 /** 173 /**
174 * The value can be a {@link CompositeValue}.
175 */
176 COMPOSITE,
177
178 /**
174 * The value can be a {@link Constant}. 179 * The value can be a {@link Constant}.
175 */ 180 */
176 CONST, 181 CONST,
177 182
178 /** 183 /**
203 */ 208 */
204 protected static final EnumMap<OperandMode, EnumSet<OperandFlag>> ALLOWED_FLAGS; 209 protected static final EnumMap<OperandMode, EnumSet<OperandFlag>> ALLOWED_FLAGS;
205 210
206 static { 211 static {
207 ALLOWED_FLAGS = new EnumMap<>(OperandMode.class); 212 ALLOWED_FLAGS = new EnumMap<>(OperandMode.class);
208 ALLOWED_FLAGS.put(USE, EnumSet.of(REG, STACK, ADDR, CONST, ILLEGAL, HINT, UNINITIALIZED)); 213 ALLOWED_FLAGS.put(USE, EnumSet.of(REG, STACK, ADDR, COMPOSITE, CONST, ILLEGAL, HINT, UNUSED, UNINITIALIZED));
209 ALLOWED_FLAGS.put(ALIVE, EnumSet.of(REG, STACK, ADDR, CONST, ILLEGAL, HINT, UNINITIALIZED)); 214 ALLOWED_FLAGS.put(ALIVE, EnumSet.of(REG, STACK, ADDR, COMPOSITE, CONST, ILLEGAL, HINT, UNUSED, UNINITIALIZED));
210 ALLOWED_FLAGS.put(TEMP, EnumSet.of(REG, CONST, ILLEGAL, HINT)); 215 ALLOWED_FLAGS.put(TEMP, EnumSet.of(REG, COMPOSITE, CONST, ILLEGAL, UNUSED, HINT));
211 ALLOWED_FLAGS.put(DEF, EnumSet.of(REG, STACK, ILLEGAL, HINT)); 216 ALLOWED_FLAGS.put(DEF, EnumSet.of(REG, STACK, COMPOSITE, ILLEGAL, UNUSED, HINT));
212 } 217 }
213 218
214 /** 219 /**
215 * The flags of the base and index value of an address. 220 * The flags of the base and index value of an address.
216 */ 221 */