Mercurial > hg > graal-jvmci-8
diff src/cpu/x86/vm/x86_64.ad @ 9060:cc32ccaaf47f
8003310: Enable -Wunused-function when compiling with gcc
Summary: Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
author | mikael |
---|---|
date | Thu, 04 Apr 2013 10:01:26 -0700 |
parents | b30b3c2a0cf2 |
children | 8be1318fbe77 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/x86_64.ad Wed Apr 03 16:43:09 2013 -0700 +++ b/src/cpu/x86/vm/x86_64.ad Thu Apr 04 10:01:26 2013 -0700 @@ -1669,17 +1669,6 @@ return PTR_RBP_REG_mask(); } -static Address build_address(int b, int i, int s, int d) { - Register index = as_Register(i); - Address::ScaleFactor scale = (Address::ScaleFactor)s; - if (index == rsp) { - index = noreg; - scale = Address::no_scale; - } - Address addr(as_Register(b), index, scale, d); - return addr; -} - %} //----------ENCODING BLOCK-----------------------------------------------------