Mercurial > hg > truffle
changeset 21263:4154f4842bf0
Add missing null check
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 06 May 2015 22:17:08 -0700 |
parents | 3aea74e5ada2 |
children | 3db917232621 |
files | graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/StackInterval.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/StackInterval.java Wed May 06 12:14:30 2015 -0700 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/StackInterval.java Wed May 06 22:17:08 2015 -0700 @@ -99,7 +99,7 @@ @Override public String toString() { - return String.format("SI[%d-%d] k=%s o=%s l=%s h=%s", from, to, kind, operand, location, hint.getOperand()); + return String.format("SI[%d-%d] k=%s o=%s l=%s h=%s", from, to, kind, operand, location, hint != null ? hint.getOperand() : "null"); } public void setLocationHint(StackInterval locationHint) {