8185826: HotSpot build failure with GCC 7.1.1

Removed unused function

Reviewed-by: dholmes, ysuenaga
This commit is contained in:
Ioi Lam 2017-08-03 22:40:26 -07:00
parent b0cc678733
commit 4964bb2c24

View file

@ -134,10 +134,6 @@ protected:
return (int)words;
}
static int size(int length, int elm_byte_size) {
return align_size_up(byte_sizeof(length, elm_byte_size), BytesPerWord) / BytesPerWord; // FIXME
}
int size() {
return size(_length);
}