hotspot/src/share/vm/adlc/archDesc.cpp
changeset 1662 76a93a5fb765
parent 1552 45c617d33fa6
child 2129 e810a33b5c67
child 2105 347008ce7984
--- a/hotspot/src/share/vm/adlc/archDesc.cpp	Mon Dec 08 17:15:02 2008 -0800
+++ b/hotspot/src/share/vm/adlc/archDesc.cpp	Tue Dec 09 12:41:26 2008 -0800
@@ -140,7 +140,7 @@
       if ((rch == _rchild) || (rch && _rchild && !strcmp(rch, _rchild))) {
         char * predStr = get_pred();
         char * prStr = pr?pr->_pred:NULL;
-        if ((prStr == predStr) || (prStr && predStr && !strcmp(prStr, predStr))) {
+        if (ADLParser::equivalent_expressions(prStr, predStr)) {
           return true;
         }
       }