Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/util/Util.java @ 2768:43ffa0e47a46
Towards removing stateAfter on BlockEnd.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Mon, 23 May 2011 19:21:53 +0200 |
parents | f9ae687657e8 |
children |
comparison
equal
deleted
inserted
replaced
2767:cc2b98e2b832 | 2768:43ffa0e47a46 |
---|---|
420 * | 420 * |
421 * @param value the instruction to convert to a value string. If {@code value == null}, then "-" is returned. | 421 * @param value the instruction to convert to a value string. If {@code value == null}, then "-" is returned. |
422 * @return the instruction representation as a string | 422 * @return the instruction representation as a string |
423 */ | 423 */ |
424 public static String valueString(Value value) { | 424 public static String valueString(Value value) { |
425 return value == null ? "-" : "" + value.kind.typeChar + value.id(); | 425 return (value == null) ? "-" : ("" + value.kind.typeChar + value.id()); |
426 } | 426 } |
427 } | 427 } |