8248337: sparc related code clean up after solaris removal

Reviewed-by: dholmes, kvn
This commit is contained in:
Yumin Qi 2020-09-02 09:29:31 -07:00
parent f3597c4a54
commit a588752fd6
29 changed files with 42 additions and 58 deletions

View file

@ -1446,10 +1446,6 @@ void LIRGenerator::do_CompareAndSwap(Intrinsic* x, ValueType* type) {
LIRItem cmp (x->argument_at(2), this); // value to compare with field
LIRItem val (x->argument_at(3), this); // replace field with val if matches cmp
assert(obj.type()->tag() == objectTag, "invalid type");
// In 64bit the type can be long, sparc doesn't have this assert
// assert(offset.type()->tag() == intTag, "invalid type");
assert(cmp.type()->tag() == type->tag(), "invalid type");
assert(val.type()->tag() == type->tag(), "invalid type");