File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " lambda_mountain"
3
- version = " 1.11.67 "
3
+ version = " 1.11.68 "
4
4
authors = [" Andrew <andrew@subarctic.org>" ]
5
5
license = " MIT"
6
6
description = " Lambda Mountain"
Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ fragment pop := λ(: src LocalVariable+Sized<size>). (: (
58
58
)))
59
59
) Nil);
60
60
61
- fragment mov := λ(: src LocalVariable+Sized<size>)(: index Literal+Constant)(: dst LocalVariable +x[]). (: (
61
+ fragment mov := λ(: src LocalVariable+Sized<size>)(: index Literal+Constant)(: dst Reg64 +x[]). (: (
62
62
(.program (
63
- (\t 'mov \s (.expression dst) \[ '%rbp \] , \s '%r14 \n)
63
+ (\t 'mov \s '% (.expression dst) , \s '%r14 \n)
64
64
(for word-offset in (range( 0 (/( size 8 )) )) (
65
65
\t 'movq \s (+( (.expression src) (*( word-offset 8 )) )) \[ '%rbp \] , \s '%r15 \n
66
66
\t 'movq \s '%r15 , \s (*( word-offset 8 )) \[ '%r14 \] \n
Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ type S (SNil)
5
5
| (SPointer( ?[] ));
6
6
7
7
close := λ(: x S). (: (tail(
8
- (mov( (malloc(sizeof S)) R15 ))
9
- (as R15 S[])
8
+ (mov( (malloc(sizeof S)) R8 ))
9
+ (mov( x 0u64 (as R8 S[]) ))
10
+ (as R8 S[])
10
11
)) S[]);
11
12
12
13
print := λ(: x S). (: (tail(
You can’t perform that action at this time.
0 commit comments