6939804: ciConstant::print() prints incorrect bool value
authorkvn
Fri, 02 Apr 2010 11:55:00 -0700
changeset 5234 9ee176a9c29a
parent 5233 6fd5e41e3f54
child 5235 9261638fa59c
6939804: ciConstant::print() prints incorrect bool value Summary: Fix typo. Reviewed-by: never
hotspot/src/share/vm/ci/ciConstant.cpp
--- a/hotspot/src/share/vm/ci/ciConstant.cpp	Thu Apr 01 16:06:57 2010 -0700
+++ b/hotspot/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: