comparison graal/com.oracle.max.asmdis/src/com/sun/max/asm/ia32/IA32GeneralRegister32.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 EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI; 35 EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI;
36 36
37 public static final Enumerator<IA32GeneralRegister32> ENUMERATOR = new Enumerator<IA32GeneralRegister32>(IA32GeneralRegister32.class); 37 public static final Enumerator<IA32GeneralRegister32> ENUMERATOR = new Enumerator<>(IA32GeneralRegister32.class);
38 38
39 public static IA32GeneralRegister32 from(GeneralRegister generalRegister) { 39 public static IA32GeneralRegister32 from(GeneralRegister generalRegister) {
40 return ENUMERATOR.get(generalRegister.id()); 40 return ENUMERATOR.get(generalRegister.id());
41 } 41 }
42 42