comparison graal/com.oracle.max.asmdis/src/com/sun/max/asm/amd64/AMD64GeneralRegister16.java @ 4142:bc8527f3071c

Adjust code base to new level of warnings.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sun, 18 Dec 2011 05:24:06 +0100
parents e233f5660da4
children
comparison
equal deleted inserted replaced
4141:04d21be7a24f 4142:bc8527f3071c
32 32
33 // Note: keep the order such that 'value()' can rely on ordinals: 33 // Note: keep the order such that 'value()' can rely on ordinals:
34 34
35 AX, CX, DX, BX, SP, BP, SI, DI, R8W, R9W, R10W, R11W, R12W, R13W, R14W, R15W; 35 AX, CX, DX, BX, SP, BP, SI, DI, R8W, R9W, R10W, R11W, R12W, R13W, R14W, R15W;
36 36
37 public static final Enumerator<AMD64GeneralRegister16> ENUMERATOR = new Enumerator<AMD64GeneralRegister16>(AMD64GeneralRegister16.class); 37 public static final Enumerator<AMD64GeneralRegister16> ENUMERATOR = new Enumerator<>(AMD64GeneralRegister16.class);
38 38
39 public static AMD64GeneralRegister16 from(GeneralRegister generalRegister) { 39 public static AMD64GeneralRegister16 from(GeneralRegister generalRegister) {
40 return ENUMERATOR.get(generalRegister.id()); 40 return ENUMERATOR.get(generalRegister.id());
41 } 41 }
42 42