1281 } |
1281 } |
1282 |
1282 |
1283 if (is_method_handle_invoke) { |
1283 if (is_method_handle_invoke) { |
1284 // Kill some extra stack space in case method handles want to do |
1284 // Kill some extra stack space in case method handles want to do |
1285 // a little in-place argument insertion. |
1285 // a little in-place argument insertion. |
|
1286 // FIXME: Is this still necessary? |
1286 int regs_per_word = NOT_LP64(1) LP64_ONLY(2); // %%% make a global const! |
1287 int regs_per_word = NOT_LP64(1) LP64_ONLY(2); // %%% make a global const! |
1287 out_arg_limit_per_call += MethodHandlePushLimit * regs_per_word; |
1288 out_arg_limit_per_call += methodOopDesc::extra_stack_entries() * regs_per_word; |
1288 // Do not update mcall->_argsize because (a) the extra space is not |
1289 // Do not update mcall->_argsize because (a) the extra space is not |
1289 // pushed as arguments and (b) _argsize is dead (not used anywhere). |
1290 // pushed as arguments and (b) _argsize is dead (not used anywhere). |
1290 } |
1291 } |
1291 |
1292 |
1292 // Compute the max stack slot killed by any call. These will not be |
1293 // Compute the max stack slot killed by any call. These will not be |