src/share/vm/adlc/formssel.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
hs-6771309 Cdiff src/share/vm/adlc/formssel.cpp
src/share/vm/adlc/formssel.cpp
Print this page
rev 461 : Fixed 6771309: debugging AD files is difficult without #line directives in generated code
Summary: more and better #line and #define directives in the generated code; ADLC itself accepts #line directives
Reviewed-by: never, kvn
*** 1100,1113 ****
// no predicates means they are identical
return true;
}
if( pred1 != NULL && pred2 != NULL ) {
// compare the predicates
! const char *str1 = pred1->_pred;
! const char *str2 = pred2->_pred;
! if( (str1 == NULL && str2 == NULL)
! || (str1 != NULL && str2 != NULL && strcmp(str1,str2) == 0) ) {
return true;
}
}
return false;
--- 1100,1110 ----
// no predicates means they are identical
return true;
}
if( pred1 != NULL && pred2 != NULL ) {
// compare the predicates
! if (ADLParser::equivalent_expressions(pred1->_pred, pred2->_pred)) {
return true;
}
}
return false;
src/share/vm/adlc/formssel.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File