74 lines
1.0 KiB
Plaintext
74 lines
1.0 KiB
Plaintext
@use std.io
|
|
|
|
@lambda (Person_exampleProperty_get)
|
|
ldr x0, [self, #2]
|
|
ret
|
|
@end
|
|
|
|
@lambda (Person_exampleProperty_set)
|
|
ldr x0, [bp, #-1]
|
|
str x0, [self, #2]
|
|
|
|
ret
|
|
@end
|
|
|
|
@lambda (Person_exampleProperty3_get)
|
|
ldr x0, [self, #3]
|
|
ret
|
|
@end
|
|
|
|
@lambda (Person_exampleProperty3_set)
|
|
ldr x0, [bp, #-1]
|
|
str x0, [self, #3]
|
|
|
|
ret
|
|
@end
|
|
|
|
@lambda (Person_exampleProperty4_get)
|
|
ldr x0, [self, #4]
|
|
ret
|
|
@end
|
|
|
|
@constpool
|
|
#0: "Received "
|
|
#1: ", "
|
|
#2: @ident[cout]
|
|
#3: @selector[-put:]
|
|
@end
|
|
|
|
@class (net.doorstuck.test.Person)
|
|
$ exampleProperty (
|
|
get:Person_exampleProperty_get
|
|
set:Person_exampleProperty_set
|
|
)
|
|
|
|
$ exampleProperty2 (get:#42)
|
|
|
|
$ exampleProperty3 (
|
|
get:Person_exampleProperty3_get
|
|
set:Person_exampleProperty3_set
|
|
)
|
|
|
|
$ exampleProperty4 (get:Person_exampleProperty4_get)
|
|
|
|
#0: name
|
|
#1: age
|
|
#2: val
|
|
#3: __exampleProperty3
|
|
#4: __exampleProperty4
|
|
@end
|
|
|
|
@msgh (net.doorstuck.test.Person) [-init(name:age:)]
|
|
ldr x0, [bp, #-1]
|
|
str x0, [self, #0]
|
|
|
|
ldr x0, [bp, #-2]
|
|
str x0, [self, #1]
|
|
|
|
ret.n
|
|
@end
|
|
|
|
@msgh (net.doorstuck.test.Person) [-test(param:_:)]
|
|
|
|
@end
|