8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8

8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8
8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8
8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8

Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: jwilhelm, ehelin, phh
This commit is contained in:
Jesper Wilhelmsson 2017-07-06 01:50:26 +02:00
parent eb20e62194
commit efd1054686
142 changed files with 787 additions and 526 deletions

View file

@ -126,6 +126,8 @@ void Reflection::widen(jvalue* value, BasicType current_type, BasicType wide_typ
case T_BYTE:
value->s = (jshort) value->b;
return;
default:
break;
}
break; // fail
case T_INT:
@ -139,6 +141,8 @@ void Reflection::widen(jvalue* value, BasicType current_type, BasicType wide_typ
case T_SHORT:
value->i = (jint) value->s;
return;
default:
break;
}
break; // fail
case T_LONG:
@ -155,6 +159,8 @@ void Reflection::widen(jvalue* value, BasicType current_type, BasicType wide_typ
case T_INT:
value->j = (jlong) value->i;
return;
default:
break;
}
break; // fail
case T_FLOAT:
@ -174,6 +180,8 @@ void Reflection::widen(jvalue* value, BasicType current_type, BasicType wide_typ
case T_LONG:
value->f = (jfloat) value->j;
return;
default:
break;
}
break; // fail
case T_DOUBLE:
@ -196,6 +204,8 @@ void Reflection::widen(jvalue* value, BasicType current_type, BasicType wide_typ
case T_LONG:
value->d = (jdouble) value->j;
return;
default:
break;
}
break; // fail
default: