@@ -1641,7 +1641,8 @@ dummy_func(void) {
16411641 }
16421642
16431643 op (_GUARD_IP__PUSH_FRAME , (ip /4 -- )) {
1644- stack_pointer = sym_set_stack_depth (this_instr -> operand1 , stack_pointer );
1644+ (void )ip ;
1645+ stack_pointer = sym_set_stack_depth ((int )this_instr -> operand1 , stack_pointer );
16451646 // TO DO
16461647 // Normal function calls to known functions
16471648 // do not need an IP guard.
@@ -1659,24 +1660,27 @@ dummy_func(void) {
16591660 }
16601661
16611662 op (_GUARD_IP_YIELD_VALUE , (ip /4 -- )) {
1663+ (void )ip ;
16621664 if (ctx -> frame -> caller ) {
16631665 REPLACE_OP (this_instr , _NOP , 0 , 0 );
16641666 }
1665- stack_pointer = sym_set_stack_depth (this_instr -> operand1 , stack_pointer );
1667+ stack_pointer = sym_set_stack_depth (( int ) this_instr -> operand1 , stack_pointer );
16661668 }
16671669
16681670 op (_GUARD_IP_RETURN_VALUE , (ip /4 -- )) {
1671+ (void )ip ;
16691672 if (ctx -> frame -> caller ) {
16701673 REPLACE_OP (this_instr , _NOP , 0 , 0 );
16711674 }
1672- stack_pointer = sym_set_stack_depth (this_instr -> operand1 , stack_pointer );
1675+ stack_pointer = sym_set_stack_depth (( int ) this_instr -> operand1 , stack_pointer );
16731676 }
16741677
16751678 op (_GUARD_IP_RETURN_GENERATOR , (ip /4 -- )) {
1679+ (void )ip ;
16761680 if (ctx -> frame -> caller ) {
16771681 REPLACE_OP (this_instr , _NOP , 0 , 0 );
16781682 }
1679- stack_pointer = sym_set_stack_depth (this_instr -> operand1 , stack_pointer );
1683+ stack_pointer = sym_set_stack_depth (( int ) this_instr -> operand1 , stack_pointer );
16801684 }
16811685
16821686
0 commit comments