1.1 --- a/src/share/vm/adlc/output_h.cpp Thu Sep 26 12:07:53 2013 -0700 1.2 +++ b/src/share/vm/adlc/output_h.cpp Fri Sep 27 08:39:19 2013 +0200 1.3 @@ -388,6 +388,8 @@ 1.4 fprintf(fp, " else if( _c%d == BoolTest::ge ) st->print(\"%s\");\n",i,cond->_greater_equal_format); 1.5 fprintf(fp, " else if( _c%d == BoolTest::lt ) st->print(\"%s\");\n",i,cond->_less_format); 1.6 fprintf(fp, " else if( _c%d == BoolTest::gt ) st->print(\"%s\");\n",i,cond->_greater_format); 1.7 + fprintf(fp, " else if( _c%d == BoolTest::overflow ) st->print(\"%s\");\n",i,cond->_overflow_format); 1.8 + fprintf(fp, " else if( _c%d == BoolTest::no_overflow ) st->print(\"%s\");\n",i,cond->_no_overflow_format); 1.9 } 1.10 1.11 // Output code that dumps constant values, increment "i" if type is constant 1.12 @@ -1208,6 +1210,8 @@ 1.13 fprintf(fp," case BoolTest::ne : return not_equal();\n"); 1.14 fprintf(fp," case BoolTest::le : return less_equal();\n"); 1.15 fprintf(fp," case BoolTest::ge : return greater_equal();\n"); 1.16 + fprintf(fp," case BoolTest::overflow : return overflow();\n"); 1.17 + fprintf(fp," case BoolTest::no_overflow: return no_overflow();\n"); 1.18 fprintf(fp," default : ShouldNotReachHere(); return 0;\n"); 1.19 fprintf(fp," }\n"); 1.20 fprintf(fp," };\n"); 1.21 @@ -1373,6 +1377,14 @@ 1.22 if( greater != NULL ) { 1.23 define_oper_interface(fp, *oper, _globalNames, "greater", greater); 1.24 } 1.25 + const char *overflow = cInterface->_overflow; 1.26 + if( overflow != NULL ) { 1.27 + define_oper_interface(fp, *oper, _globalNames, "overflow", overflow); 1.28 + } 1.29 + const char *no_overflow = cInterface->_no_overflow; 1.30 + if( no_overflow != NULL ) { 1.31 + define_oper_interface(fp, *oper, _globalNames, "no_overflow", no_overflow); 1.32 + } 1.33 } // end Conditional Interface 1.34 // Check if it is a Constant Interface 1.35 else if (oper->_interface->is_ConstInterface() != NULL ) {