Mercurial > hg > graal-jvmci-8
changeset 13559:876d56394996
Remove overly restrictive assert
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 08 Jan 2014 11:17:11 -0800 |
parents | 06c13c9bb4b6 |
children | 5252d833945d |
files | graal/com.oracle.graal.compiler.amd64/src/com/oracle/graal/compiler/amd64/AMD64LIRGenerator.java |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.amd64/src/com/oracle/graal/compiler/amd64/AMD64LIRGenerator.java Wed Jan 08 18:20:32 2014 +0000 +++ b/graal/com.oracle.graal.compiler.amd64/src/com/oracle/graal/compiler/amd64/AMD64LIRGenerator.java Wed Jan 08 11:17:11 2014 -0800 @@ -147,7 +147,6 @@ @Override public AMD64AddressValue emitAddress(Value base, long displacement, Value index, int scale) { - assert (scale >= 1 && scale <= 8) || index.equals(Value.ILLEGAL) : "invalid scale"; AllocatableValue baseRegister; long finalDisp = displacement; if (isConstant(base)) {