Mercurial > hg > truffle
changeset 17305:8dcb64d6e987
Backed out changeset: 00dd7b3c5aea ("float and double constants cannot be inlined")
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Wed, 01 Oct 2014 18:07:13 +0200 |
parents | acee76c5f8a4 |
children | 3bde3e643528 |
files | graal/com.oracle.graal.compiler.amd64/src/com/oracle/graal/compiler/amd64/AMD64LIRGenerator.java |
diffstat | 1 files changed, 1 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.amd64/src/com/oracle/graal/compiler/amd64/AMD64LIRGenerator.java Wed Oct 01 16:18:19 2014 +0200 +++ b/graal/com.oracle.graal.compiler.amd64/src/com/oracle/graal/compiler/amd64/AMD64LIRGenerator.java Wed Oct 01 18:07:13 2014 +0200 @@ -114,18 +114,8 @@ return NumUtil.isInt(c.asLong()) && !getCodeCache().needsDataPatch(c); case Object: return c.isNull(); - case Boolean: - case Byte: - case Char: - case Int: - case Short: - case Illegal: + default: return true; - case Double: - case Float: - return false; - default: - throw GraalInternalError.shouldNotReachHere(); } }