Mercurial > hg > graal-compiler
changeset 22255:2fbb9ce20d7d
Sanity check stamp and constant compression flags
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 20 Jul 2015 11:18:04 -0700 |
parents | 67b20ea8496c |
children | efeabef8df70 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/type/KlassPointerStamp.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/type/KlassPointerStamp.java Fri Jul 17 11:41:55 2015 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/type/KlassPointerStamp.java Mon Jul 20 11:18:04 2015 -0700 @@ -88,6 +88,7 @@ } assert c instanceof HotSpotMetaspaceConstant; + assert ((HotSpotMetaspaceConstant) c).isCompressed() == isCompressed(); if (nonNull()) { return this; }