small update to linux.sl and the syscall instruction, including some small optimizations
This commit is contained in:
4
tests/syscall_write.asm.forbid
Normal file
4
tests/syscall_write.asm.forbid
Normal file
@@ -0,0 +1,4 @@
|
||||
# Ensure known-argc syscall lowering avoids generic dynamic syscall boilerplate.
|
||||
clamp arg count to [0, 6]
|
||||
re:syscall_\d+_count_
|
||||
re:syscall_\d+_skip_
|
||||
@@ -6,7 +6,6 @@ word main
|
||||
1
|
||||
"hello"
|
||||
syscall.write
|
||||
syscall
|
||||
#drop
|
||||
|
||||
1
|
||||
|
||||
Reference in New Issue
Block a user