File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 07d355d1afe0ff832e78f496bc98337c22822752
2
+ refs/heads/master: b5255b4534856e25cd96b1041000837d65cc51a6
Original file line number Diff line number Diff line change @@ -1798,8 +1798,6 @@ let trans_visitor
1798
1798
(clo :Il.cell option )
1799
1799
: unit =
1800
1800
let inner dst cloptr =
1801
- let scratch = next_vreg_cell Il. voidptr_t in
1802
- let pop _ = emit (Il. Pop scratch) in
1803
1801
for i = ((Array. length args) - 1 ) downto 0
1804
1802
do
1805
1803
emit (Il. Push (Il. Cell args.(i)))
@@ -1808,10 +1806,8 @@ let trans_visitor
1808
1806
emit (Il. Push (Il. Cell abi.Abi. abi_tp_cell));
1809
1807
emit (Il. Push dst);
1810
1808
call_code code;
1811
- pop () ;
1812
- pop () ;
1813
- pop () ;
1814
- Array. iter (fun _ -> pop() ) args;
1809
+ add_to (Il. Reg (abi.Abi. abi_sp_reg, word_sty))
1810
+ (imm (Int64. mul word_sz (Int64. of_int (3 + (Array. length args)))));
1815
1811
in
1816
1812
let cloptr =
1817
1813
match clo with
You can’t perform that action at this time.
0 commit comments