From 0e11c3ee8fa56ba19010b3eba18d78b5e84672ec Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 30 Jan 2023 20:02:11 +0100 Subject: Align on double words --- snug-clean/src/Snug/Compile/Simulate.icl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'snug-clean/src') diff --git a/snug-clean/src/Snug/Compile/Simulate.icl b/snug-clean/src/Snug/Compile/Simulate.icl index d1d65ac..9f09467 100644 --- a/snug-clean/src/Snug/Compile/Simulate.icl +++ b/snug-clean/src/Snug/Compile/Simulate.icl @@ -83,7 +83,7 @@ storeStackValue (SVRegOffset reg offset) doffset dreg = add buildCons :: !Label !Int -> Simulator () buildCons cons nargs = - write_heap (SVImmediate (Address 2 cons)) >>= \addr -> + write_heap (SVImmediate (Address 4 cons)) >>= \addr -> mapM_ (\_ -> pop >>= write_heap) [1..nargs] >>| push addr -- cgit v1.2.3