diff src/share/vm/opto/subnode.cpp @ 20680:5b8e0f84f00f

8054478: C2: Incorrectly compiled char[] array access crashes JVM Summary: dead backbranch in main loop results in erroneous array access Reviewed-by: kvn, iveresov
author roland
date Mon, 01 Dec 2014 22:27:00 +0100
parents 1555c0843770
children 7848fc12602b
line wrap: on
line diff
--- a/src/share/vm/opto/subnode.cpp	Mon Dec 01 09:38:52 2014 -0500
+++ b/src/share/vm/opto/subnode.cpp	Mon Dec 01 22:27:00 2014 +0100
@@ -1147,12 +1147,10 @@
 
 //------------------------------dump_spec-------------------------------------
 // Print special per-node info
-#ifndef PRODUCT
 void BoolTest::dump_on(outputStream *st) const {
   const char *msg[] = {"eq","gt","of","lt","ne","le","nof","ge"};
   st->print("%s", msg[_test]);
 }
-#endif
 
 //=============================================================================
 uint BoolNode::hash() const { return (Node::hash() << 3)|(_test._test+1); }