changeset 5234:9ee176a9c29a

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 6fd5e41e3f54
children 9261638fa59c
files hotspot/src/share/vm/ci/ciConstant.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: