comparison graal/com.oracle.max.asmdis/src/com/sun/max/asm/ia32/IA32IndexRegister32.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
37 // no ESP_INDEX! 37 // no ESP_INDEX!
38 EBP_INDEX, 38 EBP_INDEX,
39 ESI_INDEX, 39 ESI_INDEX,
40 EDI_INDEX; 40 EDI_INDEX;
41 41
42 public static final Enumerator<IA32IndexRegister32> ENUMERATOR = new Enumerator<IA32IndexRegister32>(IA32IndexRegister32.class); 42 public static final Enumerator<IA32IndexRegister32> ENUMERATOR = new Enumerator<>(IA32IndexRegister32.class);
43 public static IA32IndexRegister32 from(GeneralRegister generalRegister) { 43 public static IA32IndexRegister32 from(GeneralRegister generalRegister) {
44 int ordinal = generalRegister.id(); 44 int ordinal = generalRegister.id();
45 if (ordinal >= IA32GeneralRegister32.ESP.id()) { 45 if (ordinal >= IA32GeneralRegister32.ESP.id()) {
46 ordinal--; 46 ordinal--;
47 } 47 }