Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/sharedRuntime_sparc.cpp @ 22458:c2c971a9776f
Remove unused frame_extension_argument from i2c adapters
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 24 Aug 2015 10:21:51 -0700 |
parents | c28cb37b2e1d |
children | f27c163d7dc2 |
comparison
equal
deleted
inserted
replaced
22457:c2d49f9fbceb | 22458:c2c971a9776f |
---|---|
517 Label& skip_fixup); | 517 Label& skip_fixup); |
518 void gen_i2c_adapter(int total_args_passed, | 518 void gen_i2c_adapter(int total_args_passed, |
519 // VMReg max_arg, | 519 // VMReg max_arg, |
520 int comp_args_on_stack, // VMRegStackSlots | 520 int comp_args_on_stack, // VMRegStackSlots |
521 const BasicType *sig_bt, | 521 const BasicType *sig_bt, |
522 const VMRegPair *regs, | 522 const VMRegPair *regs); |
523 int frame_extension_argument = -1); | |
524 | 523 |
525 AdapterGenerator(MacroAssembler *_masm) : masm(_masm) {} | 524 AdapterGenerator(MacroAssembler *_masm) : masm(_masm) {} |
526 }; | 525 }; |
527 | 526 |
528 | 527 |
766 | 765 |
767 void AdapterGenerator::gen_i2c_adapter(int total_args_passed, | 766 void AdapterGenerator::gen_i2c_adapter(int total_args_passed, |
768 // VMReg max_arg, | 767 // VMReg max_arg, |
769 int comp_args_on_stack, // VMRegStackSlots | 768 int comp_args_on_stack, // VMRegStackSlots |
770 const BasicType *sig_bt, | 769 const BasicType *sig_bt, |
771 const VMRegPair *regs, | 770 const VMRegPair *regs) { |
772 int frame_extension_argument) { | |
773 assert(frame_extension_argument == -1, "unsupported"); | |
774 | |
775 // Generate an I2C adapter: adjust the I-frame to make space for the C-frame | 771 // Generate an I2C adapter: adjust the I-frame to make space for the C-frame |
776 // layout. Lesp was saved by the calling I-frame and will be restored on | 772 // layout. Lesp was saved by the calling I-frame and will be restored on |
777 // return. Meanwhile, outgoing arg space is all owned by the callee | 773 // return. Meanwhile, outgoing arg space is all owned by the callee |
778 // C-frame, so we can mangle it at will. After adjusting the frame size, | 774 // C-frame, so we can mangle it at will. After adjusting the frame size, |
779 // hoist register arguments and repack other args according to the compiled | 775 // hoist register arguments and repack other args according to the compiled |
1026 | 1022 |
1027 void SharedRuntime::gen_i2c_adapter(MacroAssembler *masm, | 1023 void SharedRuntime::gen_i2c_adapter(MacroAssembler *masm, |
1028 int total_args_passed, | 1024 int total_args_passed, |
1029 int comp_args_on_stack, | 1025 int comp_args_on_stack, |
1030 const BasicType *sig_bt, | 1026 const BasicType *sig_bt, |
1031 const VMRegPair *regs, | 1027 const VMRegPair *regs) { |
1032 int frame_extension_argument) { | |
1033 AdapterGenerator agen(masm); | 1028 AdapterGenerator agen(masm); |
1034 agen.gen_i2c_adapter(total_args_passed, comp_args_on_stack, sig_bt, regs, frame_extension_argument); | 1029 agen.gen_i2c_adapter(total_args_passed, comp_args_on_stack, sig_bt, regs); |
1035 } | 1030 } |
1036 | 1031 |
1037 // --------------------------------------------------------------- | 1032 // --------------------------------------------------------------- |
1038 AdapterHandlerEntry* SharedRuntime::generate_i2c2i_adapters(MacroAssembler *masm, | 1033 AdapterHandlerEntry* SharedRuntime::generate_i2c2i_adapters(MacroAssembler *masm, |
1039 int total_args_passed, | 1034 int total_args_passed, |