Mercurial > hg > truffle
comparison graal/com.oracle.max.asmdis/src/com/sun/max/asm/amd64/AMD64GeneralRegister64.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 RAX, RCX, RDX, RBX, RSP, RBP, RSI, RDI, R8, R9, R10, R11, R12, R13, R14, R15; | 35 RAX, RCX, RDX, RBX, RSP, RBP, RSI, RDI, R8, R9, R10, R11, R12, R13, R14, R15; |
36 | 36 |
37 public static final Enumerator<AMD64GeneralRegister64> ENUMERATOR = new Enumerator<AMD64GeneralRegister64>(AMD64GeneralRegister64.class); | 37 public static final Enumerator<AMD64GeneralRegister64> ENUMERATOR = new Enumerator<>(AMD64GeneralRegister64.class); |
38 | 38 |
39 public static AMD64GeneralRegister64 from(GeneralRegister generalRegister) { | 39 public static AMD64GeneralRegister64 from(GeneralRegister generalRegister) { |
40 return ENUMERATOR.get(generalRegister.id()); | 40 return ENUMERATOR.get(generalRegister.id()); |
41 } | 41 } |
42 | 42 |