Skip to content

Commit 2d86950

Browse files
committed
---
yaml --- r: 575 b: refs/heads/master c: b5255b4 h: refs/heads/master i: 573: 20d5e23 571: b3dddb3 567: 13923d8 559: 9bdc014 543: 0b4eb4a 511: 5692310 v: v3
1 parent f8b8c77 commit 2d86950

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 07d355d1afe0ff832e78f496bc98337c22822752
2+
refs/heads/master: b5255b4534856e25cd96b1041000837d65cc51a6

trunk/src/boot/me/trans.ml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1798,8 +1798,6 @@ let trans_visitor
17981798
(clo:Il.cell option)
17991799
: unit =
18001800
let inner dst cloptr =
1801-
let scratch = next_vreg_cell Il.voidptr_t in
1802-
let pop _ = emit (Il.Pop scratch) in
18031801
for i = ((Array.length args) - 1) downto 0
18041802
do
18051803
emit (Il.Push (Il.Cell args.(i)))
@@ -1808,10 +1806,8 @@ let trans_visitor
18081806
emit (Il.Push (Il.Cell abi.Abi.abi_tp_cell));
18091807
emit (Il.Push dst);
18101808
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)))));
18151811
in
18161812
let cloptr =
18171813
match clo with

0 commit comments

Comments
 (0)