changeset 1639:1c9c45172908

6939804: ciConstant::print() prints incorrect bool value Summary: Fix typo. Reviewed-by: never
author kvn
date Fri, 02 Apr 2010 11:55:00 -0700
parents 547cbe6dacc5
children 9bb91718aaf2
files src/share/vm/ci/ciConstant.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/ci/ciConstant.cpp	Thu Apr 01 16:06:57 2010 -0700
+++ b/src/share/vm/ci/ciConstant.cpp	Fri Apr 02 11:55:00 2010 -0700
@@ -36,7 +36,7 @@
              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: