File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -6996,13 +6996,8 @@ fn gen_send_iseq(
6996
6996
6997
6997
let mut unspecified_bits = 0 ;
6998
6998
6999
- // Start by ensuring the stack is large enough for the callee
7000
- for _ in caller_keyword_len..callee_kw_count {
7001
- argc += 1 ;
7002
- asm. stack_push ( Type :: Unknown ) ;
7003
- }
7004
- // Now this is the stack_opnd() index to the 0th keyword argument.
7005
- let kwargs_stack_base = kwargs_order. len ( ) as i32 - 1 ;
6999
+ // The stack_opnd() index to the 0th keyword argument.
7000
+ let kwargs_stack_base = caller_keyword_len_i32 - 1 ;
7006
7001
7007
7002
// Build the keyword rest parameter hash before we make any changes to the order of
7008
7003
// the supplied keyword arguments
@@ -7089,6 +7084,14 @@ fn gen_send_iseq(
7089
7084
}
7090
7085
}
7091
7086
7087
+ // Ensure the stack is large enough for the callee
7088
+ for _ in caller_keyword_len..callee_kw_count {
7089
+ argc += 1 ;
7090
+ asm. stack_push ( Type :: Unknown ) ;
7091
+ }
7092
+ // Now this is the stack_opnd() index to the 0th keyword argument.
7093
+ let kwargs_stack_base = kwargs_order. len ( ) as i32 - 1 ;
7094
+
7092
7095
// Next, we're going to loop through every keyword that was
7093
7096
// specified by the caller and make sure that it's in the correct
7094
7097
// place. If it's not we're going to swap it around with another one.
You can’t perform that action at this time.
0 commit comments