Mercurial > hg > truffle
comparison graal/com.oracle.max.asmdis/src/com/sun/max/asm/amd64/AMD64GeneralRegister32.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, R8D, R9D, R10D, R11D, R12D, R13D, R14D, R15D; | 35 EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI, R8D, R9D, R10D, R11D, R12D, R13D, R14D, R15D; |
36 | 36 |
37 public static final Enumerator<AMD64GeneralRegister32> ENUMERATOR = new Enumerator<AMD64GeneralRegister32>(AMD64GeneralRegister32.class); | 37 public static final Enumerator<AMD64GeneralRegister32> ENUMERATOR = new Enumerator<>(AMD64GeneralRegister32.class); |
38 | 38 |
39 public static AMD64GeneralRegister32 from(GeneralRegister generalRegister) { | 39 public static AMD64GeneralRegister32 from(GeneralRegister generalRegister) { |
40 return ENUMERATOR.get(generalRegister.id()); | 40 return ENUMERATOR.get(generalRegister.id()); |
41 } | 41 } |
42 | 42 |