提交 2de34df5 编写于 作者: K kvn

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

Summary: Fix typo.
Reviewed-by: never
上级 330543aa
...@@ -36,7 +36,7 @@ void ciConstant::print() { ...@@ -36,7 +36,7 @@ void ciConstant::print() {
basictype_to_str(basic_type())); basictype_to_str(basic_type()));
switch (basic_type()) { switch (basic_type()) {
case T_BOOLEAN: case T_BOOLEAN:
tty->print("%s", bool_to_str(_value._int == 0)); tty->print("%s", bool_to_str(_value._int != 0));
break; break;
case T_CHAR: case T_CHAR:
case T_BYTE: case T_BYTE:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册