6939804: ciConstant::print() prints incorrect bool value

Fix typo.

Reviewed-by: never
This commit is contained in:
Vladimir Kozlov 2010-04-02 11:55:00 -07:00
parent 7a9a877131
commit 8e1f408216

View File

@ -36,7 +36,7 @@ void ciConstant::print() {
basictype_to_str(basic_type()));
switch (basic_type()) {
case T_BOOLEAN:
tty->print("%s", bool_to_str(_value._int == 0));
tty->print("%s", bool_to_str(_value._int != 0));
break;
case T_CHAR:
case T_BYTE: