Mercurial > hg > truffle
comparison graal/com.oracle.max.asmdis/src/com/sun/max/asm/amd64/AMD64IndexRegister32.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 |
---|---|
46 R12D_INDEX, | 46 R12D_INDEX, |
47 R13D_INDEX, | 47 R13D_INDEX, |
48 R14D_INDEX, | 48 R14D_INDEX, |
49 R15D_INDEX; | 49 R15D_INDEX; |
50 | 50 |
51 public static final Enumerator<AMD64IndexRegister32> ENUMERATOR = new Enumerator<AMD64IndexRegister32>(AMD64IndexRegister32.class); | 51 public static final Enumerator<AMD64IndexRegister32> ENUMERATOR = new Enumerator<>(AMD64IndexRegister32.class); |
52 | 52 |
53 public static AMD64IndexRegister32 from(GeneralRegister generalRegister) { | 53 public static AMD64IndexRegister32 from(GeneralRegister generalRegister) { |
54 int ordinal = generalRegister.id(); | 54 int ordinal = generalRegister.id(); |
55 if (ordinal >= AMD64GeneralRegister32.ESP.id()) { | 55 if (ordinal >= AMD64GeneralRegister32.ESP.id()) { |
56 ordinal--; | 56 ordinal--; |