8079093: Remove FakeRttiSupport workaround for gcc -Wtype-limits
Remove the no longer needed workaround. Reviewed-by: jmasa, david, simonis
This commit is contained in:
parent
242ce54cc7
commit
d68213f785
@ -89,11 +89,11 @@ private:
|
|||||||
return ((uintx)1) << validate_tag(tag);
|
return ((uintx)1) << validate_tag(tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
static TagType validate_tag(uintx tag) {
|
static TagType validate_tag(TagType tag) {
|
||||||
// Type of tag is not TagType to dodge useless MacOSX compiler warning.
|
assert(0 <= tag, err_msg("Tag " INTX_FORMAT " is negative", (intx)tag));
|
||||||
assert(tag < (sizeof(uintx) * BitsPerByte),
|
assert(tag < BitsPerWord,
|
||||||
err_msg("Tag " UINTX_FORMAT " is too large", tag));
|
err_msg("Tag " UINTX_FORMAT " is too large", (uintx)tag));
|
||||||
return static_cast<TagType>(tag);
|
return tag;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user