Skip to content

Commit 8142a36

Browse files
committed
Remove dead code.
1 parent 97b5070 commit 8142a36

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

src/hotspot/cpu/ppc/ppc.ad

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2340,44 +2340,11 @@ bool Matcher::is_generic_vector(MachOper* opnd) {
23402340
return false;
23412341
}
23422342

2343-
// Constants for c2c and c calling conventions.
2344-
2345-
const MachRegisterNumbers iarg_reg[8] = {
2346-
R3_num, R4_num, R5_num, R6_num,
2347-
R7_num, R8_num, R9_num, R10_num
2348-
};
2349-
2350-
const MachRegisterNumbers farg_reg[13] = {
2351-
F1_num, F2_num, F3_num, F4_num,
2352-
F5_num, F6_num, F7_num, F8_num,
2353-
F9_num, F10_num, F11_num, F12_num,
2354-
F13_num
2355-
};
2356-
2357-
const MachRegisterNumbers vsarg_reg[32] = {
2358-
VSR32_num, VSR33_num, VSR34_num, VSR35_num,
2359-
VSR36_num, VSR37_num, VSR38_num, VSR39_num,
2360-
VSR40_num, VSR41_num, VSR42_num, VSR43_num,
2361-
VSR44_num, VSR45_num, VSR46_num, VSR47_num,
2362-
VSR48_num, VSR49_num, VSR50_num, VSR51_num,
2363-
VSR52_num, VSR53_num, VSR54_num, VSR55_num,
2364-
VSR56_num, VSR57_num, VSR58_num, VSR59_num,
2365-
VSR60_num, VSR61_num, VSR62_num, VSR63_num
2366-
};
2367-
2368-
const int num_iarg_registers = sizeof(iarg_reg) / sizeof(iarg_reg[0]);
2369-
2370-
const int num_farg_registers = sizeof(farg_reg) / sizeof(farg_reg[0]);
2371-
2372-
const int num_vsarg_registers = sizeof(vsarg_reg) / sizeof(vsarg_reg[0]);
2373-
23742343
// Return whether or not this register is ever used as an argument. This
23752344
// function is used on startup to build the trampoline stubs in generateOptoStub.
23762345
// Registers not mentioned will be killed by the VM call in the trampoline, and
23772346
// arguments in those registers not be available to the callee.
23782347
bool Matcher::can_be_java_arg(int reg) {
2379-
// We return true for all registers contained in iarg_reg[] and
2380-
// farg_reg[] and their virtual halves.
23812348
// We must include the virtual halves in order to get STDs and LDs
23822349
// instead of STWs and LWs in the trampoline stubs.
23832350

0 commit comments

Comments
 (0)